# HG changeset patch # User Patrick Mezard # Date 1200906152 -3600 # Node ID f791a2acf11bc94d68d2d555696d623dbd8c2733 # Parent 4bb64294e5b48deca4812d7e3c5d66ecd4ecabd3 localrepo: ensure files unicity in commit() (issue 714) diff -r 4bb64294e5b4 -r f791a2acf11b mercurial/localrepo.py --- 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 = []