Mercurial > hg-stable
changeset 5860:493632bb171c
convert should use default value when CVS_RSH is not set, that value
being 'ssh'.
author | Kostantinos Koukopoulos <kouk@noc.uoa.gr> |
---|---|
date | Tue, 15 Jan 2008 13:29:59 +0200 |
parents | e0f86c1e3ae5 |
children | b860b116dea4 ad08dfad7e7b |
files | hgext/convert/cvs.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: