diff hgext/largefiles/uisetup.py @ 23782:304e69cb1ee9

largefiles: enable subrepo support for remove Previously, remove failed when operating on a largefile in a subrepo, stating that the file is untracked.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 30 Dec 2014 21:12:52 -0500
parents d289ba74dba3
children 2b79d124a12f
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py	Thu Jan 08 21:36:12 2015 -0800
+++ b/hgext/largefiles/uisetup.py	Tue Dec 30 21:12:52 2014 -0500
@@ -33,8 +33,7 @@
     # and in the process of handling commit -A (issue3542)
     entry = extensions.wrapfunction(scmutil, 'addremove',
                                     overrides.scmutiladdremove)
-    entry = extensions.wrapcommand(commands.table, 'remove',
-                                   overrides.overrideremove)
+    extensions.wrapfunction(cmdutil, 'remove', overrides.cmdutilremove)
     entry = extensions.wrapcommand(commands.table, 'forget',
                                    overrides.overrideforget)