diff mercurial/localrepo.py @ 5913:7c2921a60035

Merge with crew-stable
author Patrick Mezard <pmezard@gmail.com>
date Mon, 21 Jan 2008 14:15:38 +0100
parents afa1e6122be7 f791a2acf11b
children d0576d065993
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sun Jan 20 08:12:07 2008 -0200
+++ b/mercurial/localrepo.py	Mon Jan 21 14:15:38 2008 +0100
@@ -687,6 +687,8 @@
                p1=None, p2=None, extra={}, empty_ok=False):
         wlock = lock = tr = None
         valid = 0 # don't save the dirstate if this isn't set
+        if files:
+            files = util.unique(files)
         try:
             commit = []
             remove = []