action_sync: preserved leading / in ssh uri
authorZac Medico <zmedico@gentoo.org>
Wed, 24 Nov 2010 15:48:26 +0000 (07:48 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 24 Nov 2010 16:42:43 +0000 (08:42 -0800)
pym/_emerge/actions.py

index 23d0f89dd97de2a266865545095363d003e69b7a..6663fe6cd2b35688dca8395800444a010d8a146e 100644 (file)
@@ -2204,7 +2204,7 @@ def action_sync(settings, trees, mtimedb, myopts, myaction):
                                        (retries, effective_maxretries, dosyncuri), noiselevel=-1)
 
                        if dosyncuri.startswith('ssh://'):
-                               dosyncuri = dosyncuri[6:].replace('/', ':', 1)
+                               dosyncuri = dosyncuri[6:].replace('/', ':/', 1)
 
                        if mytimestamp != 0 and "--quiet" not in myopts:
                                print(">>> Checking server timestamp ...")