##// END OF EJS Templates
Merge with stable
Matt Mackall -
r11630:0c23085f merge default
parent child Browse files
Show More
@@ -154,7 +154,7 b' class client(object):'
154 if names:
154 if names:
155 return filter(match, names.split('\0'))
155 return filter(match, names.split('\0'))
156 return []
156 return []
157 results = map(readnames, resphdr[:-1])
157 results = tuple(map(readnames, resphdr[:-1]))
158
158
159 if names:
159 if names:
160 nbytes = resphdr[-1]
160 nbytes = resphdr[-1]
@@ -3157,7 +3157,7 b' def revert(ui, repo, *pats, **opts):'
3157 ui.note(_('saving current version of %s as %s\n') %
3157 ui.note(_('saving current version of %s as %s\n') %
3158 (rel, bakname))
3158 (rel, bakname))
3159 if not opts.get('dry_run'):
3159 if not opts.get('dry_run'):
3160 util.copyfile(target, bakname)
3160 util.rename(target, bakname)
3161 if ui.verbose or not exact:
3161 if ui.verbose or not exact:
3162 msg = xlist[1]
3162 msg = xlist[1]
3163 if not isinstance(msg, basestring):
3163 if not isinstance(msg, basestring):
General Comments 0
You need to be logged in to leave comments. Login now