##// END OF EJS Templates
cmdutil: copy auth section in remoteui...
Dirkjan Ochtman -
r10025:fb45c1e4 stable
parent child Browse files
Show More
@@ -111,11 +111,16 b' def remoteui(src, opts):'
111 v = opts.get(o) or src.config('ui', o)
111 v = opts.get(o) or src.config('ui', o)
112 if v:
112 if v:
113 dst.setconfig("ui", o, v)
113 dst.setconfig("ui", o, v)
114
114 # copy bundle-specific options
115 # copy bundle-specific options
115 r = src.config('bundle', 'mainreporoot')
116 r = src.config('bundle', 'mainreporoot')
116 if r:
117 if r:
117 dst.setconfig('bundle', 'mainreporoot', r)
118 dst.setconfig('bundle', 'mainreporoot', r)
118
119
120 # copy auth section settings
121 for key, val in src.configitems('auth'):
122 dst.setconfig('auth', key, val)
123
119 return dst
124 return dst
120
125
121 def revpair(repo, revs):
126 def revpair(repo, revs):
General Comments 0
You need to be logged in to leave comments. Login now