Mercurial > hg
changeset 11630:0c23085f051f
Merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 20 Jul 2010 15:07:10 -0500 |
parents | 04f76a954842 (current diff) 9e874ee0fe97 (diff) |
children | dbb98d8fbcaf |
files | hgext/inotify/client.py mercurial/commands.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/inotify/client.py Tue Jul 20 20:52:23 2010 +0200 +++ b/hgext/inotify/client.py Tue Jul 20 15:07:10 2010 -0500 @@ -154,7 +154,7 @@ if names: return filter(match, names.split('\0')) return [] - results = map(readnames, resphdr[:-1]) + results = tuple(map(readnames, resphdr[:-1])) if names: nbytes = resphdr[-1]
--- a/mercurial/commands.py Tue Jul 20 20:52:23 2010 +0200 +++ b/mercurial/commands.py Tue Jul 20 15:07:10 2010 -0500 @@ -3157,7 +3157,7 @@ ui.note(_('saving current version of %s as %s\n') % (rel, bakname)) if not opts.get('dry_run'): - util.copyfile(target, bakname) + util.rename(target, bakname) if ui.verbose or not exact: msg = xlist[1] if not isinstance(msg, basestring):