[PATCH 1 of 9] largefiles: use 'list*' variables for consistency and clarity
Martin von Zweigbergk
martinvonz at gmail.com
Wed Sep 17 15:40:18 CDT 2014
# HG changeset patch
# User Martin von Zweigbergk <martinvonz at gmail.com>
# Date 1410885827 25200
# Tue Sep 16 09:43:47 2014 -0700
# Node ID 3eb908098e46eb9b60bf6d4cc66a416111f2e201
# Parent 48791c2bea1ceda4e4f28bc11651e281d636ce1a
largefiles: use 'list*' variables for consistency and clarity
The variables 'listignored', 'listclean' and 'listunknown' are
initialized to the values of 'ignored', 'clean' and 'unknown',
respectively. However, the 'ignored', 'clean' and 'unknown' themselves
get a different meaning further down in the method, so use the list*
names for clarity, since they only have one meaning.
diff --git a/hgext/largefiles/reposetup.py b/hgext/largefiles/reposetup.py
--- a/hgext/largefiles/reposetup.py
+++ b/hgext/largefiles/reposetup.py
@@ -152,7 +152,7 @@
m._files = tostandins(m._files)
result = super(lfilesrepo, self).status(node1, node2, m,
- ignored, clean, unknown, listsubrepos)
+ listignored, listclean, listunknown, listsubrepos)
if working:
def sfindirstate(f):
More information about the Mercurial-devel
mailing list