equal
deleted
inserted
replaced
187 conntype = "rsh" |
187 conntype = "rsh" |
188 user, host, root = m.group(1), m.group(2), m.group(3) |
188 user, host, root = m.group(1), m.group(2), m.group(3) |
189 |
189 |
190 if conntype != "pserver": |
190 if conntype != "pserver": |
191 if conntype == "rsh": |
191 if conntype == "rsh": |
192 rsh = os.environ.get("CVS_RSH") or "ssh" |
192 rsh = encoding.environ.get("CVS_RSH") or "ssh" |
193 if user: |
193 if user: |
194 cmd = [rsh, '-l', user, host] + cmd |
194 cmd = [rsh, '-l', user, host] + cmd |
195 else: |
195 else: |
196 cmd = [rsh, host] + cmd |
196 cmd = [rsh, host] + cmd |
197 |
197 |