hgext/mq.py
changeset 4096 49237d6ae97d
parent 4071 165abe554c80
parent 4090 785ad8cd1d31
child 4099 cf5580c16b13
--- a/hgext/mq.py	Thu Feb 15 10:15:08 2007 -0200
+++ b/hgext/mq.py	Fri Feb 16 05:27:37 2007 -0200
@@ -1501,7 +1501,6 @@
     sr = hg.repository(ui, ui.expandpath(source))
     qbase, destrev = None, None
     if sr.local():
-        reposetup(ui, sr)
         if sr.mq.applied:
             qbase = revlog.bin(sr.mq.applied[0].rev)
             if not hg.islocal(dest):
@@ -1521,7 +1520,6 @@
     if dr.local():
         if qbase:
             ui.note(_('stripping applied patches from destination repo\n'))
-            reposetup(ui, dr)
             dr.mq.strip(dr, qbase, update=False, backup=None)
         if not opts['noupdate']:
             ui.note(_('updating destination repo\n'))