strip: strip changelog before manifest
authorBrendan Cully <brendan@kublai.com>
Wed, 30 Aug 2006 15:13:45 -0700
changeset 3075 e20e7e2623b0
parent 3064 fe5c92529d1c
child 3076 1a792e4a1f3a
strip: strip changelog before manifest
hgext/mq.py
--- a/hgext/mq.py	Wed Sep 06 02:15:33 2006 +0200
+++ b/hgext/mq.py	Wed Aug 30 15:13:45 2006 -0700
@@ -694,8 +694,8 @@
         stripall(rev, revnum)
 
         change = chlog.read(rev)
+        chlog.strip(revnum, revnum)
         repo.manifest.strip(repo.manifest.rev(change[0]), revnum)
-        chlog.strip(revnum, revnum)
         if saveheads:
             self.ui.status("adding branch\n")
             commands.unbundle(self.ui, repo, chgrpfile, update=False)