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 = []