changeset 81:f2e41cfb11c1

fcloning to remote SSH repositories works again.
author Simon Law <simon@akoha.org>
date Tue, 15 Jan 2008 17:06:57 -0500
parents 7403cc6df41c
children f5f1d398f1db
files forest.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/forest.py	Wed Dec 26 15:38:56 2007 +0100
+++ b/forest.py	Tue Jan 15 17:06:57 2008 -0500
@@ -802,7 +802,10 @@
     if islocalsrc:
         source = os.path.abspath(urltopath(source))
     if dest:
-        dest = os.path.normpath(dest)
+        if hg.islocal(dest):
+            dest = os.path.normpath(dest)
+        else:
+            pass
     else:
         dest = hg.defaultdest(source)
     toprepo = hg.repository(ui, source)