# HG changeset patch # User Yuki KODAMA <[email protected]> # Date 1250479743 -32400 # Branch stable # Node ID 7e178071640b85260eaed48958f9f4bba5b77b10 # Parent 594b199021246847c1103d9057be22da02ffba29 thgconfig: fix parsing SSH url
fixes issue #494
diff --git a/hggtk/thgconfig.py b/hggtk/thgconfig.py
--- a/hggtk/thgconfig.py
+++ b/hggtk/thgconfig.py
@@ -299,8 +299,8 @@
e.disconnect(h)
def urlparse(self, path):
- if path.startswith('ssh://'):
- m = re.match(r'^ssh://(([...@]+)@)?([^:/]+)(:(\d+))?(/(.*))?$',
path)
+ m = re.match(r'^ssh://(([...@]+)@)?([^:/]+)(:(\d+))?(/(.*))?$', path)
+ if m:
user = m.group(2)
host = m.group(3)
port = m.group(5)
thg-kuy-stable_rev3601.patch
Description: Binary data
------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
