# HG changeset patch # User Kostantinos Koukopoulos # Date 1200396599 -7200 # Node ID 493632bb171c42b272fec8b7d873b945eede13f3 # Parent e0f86c1e3ae58ae797b8dc2c3f37f5bb82f8f336 convert should use default value when CVS_RSH is not set, that value being 'ssh'. diff -r e0f86c1e3ae5 -r 493632bb171c hgext/convert/cvs.py --- a/hgext/convert/cvs.py Tue Jan 15 13:46:32 2008 +0100 +++ b/hgext/convert/cvs.py Tue Jan 15 13:29:59 2008 +0200 @@ -179,7 +179,7 @@ if conntype != "pserver": if conntype == "rsh": - rsh = os.environ.get("CVS_RSH" or "rsh") + rsh = os.environ.get("CVS_RSH") or "ssh" if user: cmd = [rsh, '-l', user, host] + cmd else: