Show More
@@ -101,10 +101,10 b' def loglimit(opts):' | |||
|
101 | 101 | def remoteui(src, opts): |
|
102 | 102 | 'build a remote ui from ui or repo and opts' |
|
103 | 103 | if hasattr(src, 'baseui'): # looks like a repository |
|
104 | dst = src.baseui # drop repo-specific config | |
|
104 | dst = src.baseui.copy() # drop repo-specific config | |
|
105 | 105 | src = src.ui # copy target options from repo |
|
106 | 106 | else: # assume it's a global ui object |
|
107 | dst = src # keep all global options | |
|
107 | dst = src.copy() # keep all global options | |
|
108 | 108 | |
|
109 | 109 | # copy ssh-specific options |
|
110 | 110 | for o in 'ssh', 'remotecmd': |
General Comments 0
You need to be logged in to leave comments.
Login now