imerge: simplify 1d5ebb0d366f
authorBrendan Cully <brendan@kublai.com>
Mon, 13 Aug 2007 11:58:47 -0700
changeset 5154 ec24bfd852ab
parent 5153 1d5ebb0d366f
child 5158 b1e147f60d62
imerge: simplify 1d5ebb0d366f
hgext/imerge.py
--- a/hgext/imerge.py
+++ b/hgext/imerge.py
@@ -36,7 +36,7 @@ class ImergeStateFile(object):
         tf = tarfile.open(source, 'r')
         contents = tf.getnames()
         # tarfile normalizes path separators to '/'
-        statusfile = '/'.join(['.hg', 'imerge', 'status'])
+        statusfile = '.hg/imerge/status'
         if statusfile not in contents:
             raise InvalidStateFileException('no status file')