backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 15 Mar 2010 11:18:51 +0100
changeset 4905 cc94a3f3321f
parent 4903 627fcd90e08f (current diff)
parent 4904 a5250dafdcac (diff)
child 4906 9a50539f01d1
backport stable
server/migractions.py
--- a/server/migractions.py	Fri Mar 12 16:53:18 2010 +0100
+++ b/server/migractions.py	Mon Mar 15 11:18:51 2010 +0100
@@ -147,7 +147,7 @@
         try:
             for source in repo.sources:
                 try:
-                    source.backup(osp.join(tmpdir, source.uri, self.confirm))
+                    source.backup(osp.join(tmpdir, source.uri), self.confirm)
                 except Exception, ex:
                     print '-> error trying to backup %s [%s]' % (source.uri, ex)
                     if not self.confirm('Continue anyway?', default='n'):