Mercurial > hg-stable
diff hgext/largefiles/uisetup.py @ 18144:e16982a74bf7
largefiles: introduce basic debugstate --large functionality
Very useful for debugging largefiles "performance" issues.
This is used for testing 03faf12fbee7.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Fri, 28 Dec 2012 11:55:57 +0100 |
parents | d1d0140287b8 |
children | 3598c585e464 |
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py Fri Dec 28 11:55:57 2012 +0100 +++ b/hgext/largefiles/uisetup.py Fri Dec 28 11:55:57 2012 +0100 @@ -59,6 +59,11 @@ _('verify largefile contents not just existence'))] entry[1].extend(verifyopt) + entry = extensions.wrapcommand(commands.table, 'debugstate', + overrides.overridedebugstate) + debugstateopt = [('', 'large', None, _('display largefiles dirstate'))] + entry[1].extend(debugstateopt) + entry = extensions.wrapcommand(commands.table, 'outgoing', overrides.overrideoutgoing) outgoingopt = [('', 'large', None, _('display outgoing largefiles'))]