diff hgext/largefiles/lfcommands.py @ 15224:7c604d8c7e83

largefiles: remove pre-1.9 code from extension first bundled with 1.9
author Na'Tosha Bard <natosha@unity3d.com>
date Tue, 11 Oct 2011 10:42:56 +0200
parents 3d27a8ff895f
children a7686abf73a6
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py	Tue Oct 11 23:16:05 2011 -0500
+++ b/hgext/largefiles/lfcommands.py	Tue Oct 11 10:42:56 2011 +0200
@@ -466,12 +466,7 @@
     elif state == 'a':
         lfdirstate.add(lfile)
     elif state == '?':
-        try:
-            # Mercurial >= 1.9
-            lfdirstate.drop(lfile)
-        except AttributeError:
-            # Mercurial <= 1.8
-            lfdirstate.forget(lfile)
+        lfdirstate.drop(lfile)
     return ret
 
 # -- hg commands declarations ------------------------------------------------