Mercurial > hg
changeset 5882:f791a2acf11b
localrepo: ensure files unicity in commit() (issue 714)
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 21 Jan 2008 10:02:32 +0100 |
parents | 4bb64294e5b4 |
children | a893610f6f0c |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Dec 27 23:55:40 2007 -0600 +++ b/mercurial/localrepo.py Mon Jan 21 10:02:32 2008 +0100 @@ -661,6 +661,8 @@ match=util.always, force=False, force_editor=False, p1=None, p2=None, extra={}, empty_ok=False): wlock = lock = tr = None + if files: + files = util.unique(files) try: commit = [] remove = []