diff mercurial/localrepo.py @ 8151:127281884959

util: use built-in set instead of util.unique
author Martin Geisler <mg@lazybytes.net>
date Wed, 22 Apr 2009 00:56:06 +0200
parents bbc24c0753a0
children 08e1baf924ca
line wrap: on
line diff
--- a/mercurial/localrepo.py	Wed Apr 22 00:55:32 2009 +0200
+++ b/mercurial/localrepo.py	Wed Apr 22 00:56:06 2009 +0200
@@ -791,7 +791,7 @@
         if extra.get("close"):
             force = True
         if files:
-            files = util.unique(files)
+            files = list(set(files))
         try:
             wlock = self.wlock()
             lock = self.lock()