Mercurial > public > mercurial-scm > hg
diff hgext/mq.py @ 4016:a195f11ed1a2
sync with -stable
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 02 Jan 2007 22:40:52 +0100 |
parents | 714fbfe5c9e5 6e0cb0790e23 |
children | bbdba01cce28 |
line wrap: on
line diff
--- a/hgext/mq.py Fri Dec 29 20:04:31 2006 -0600 +++ b/hgext/mq.py Tue Jan 02 22:40:52 2007 +0100 @@ -698,7 +698,6 @@ if saveheads: backupch = repo.changegroupsubset(savebases.keys(), saveheads, 'strip') chgrpfile = bundle(backupch) - chgrpfile = 'file:%s' % chgrpfile stripall(revnum) @@ -707,7 +706,8 @@ repo.manifest.strip(repo.manifest.rev(change[0]), revnum) if saveheads: self.ui.status("adding branch\n") - commands.unbundle(self.ui, repo, chgrpfile, update=False) + commands.unbundle(self.ui, repo, "file:%s" % chgrpfile, + update=False) if backup != "strip": os.unlink(chgrpfile)