Changeset c3d0b45dc573…
Parent dbd5edcfc99f…
by Andrew Pritchard <andrewp@fogcreek.com>
Changes to 2 files · Browse files at c3d0b45dc573 Showing diff from parent dbd5edcfc99f Diff from another changeset...
@@ -83,12 +83,12 @@ # the listing. This function reverts to the original status if
# self.lfstatus is False
def status(self, node1='.', node2=None, match=None, ignored=False,
- clean=False, unknown=False, subrepos=None):
+ clean=False, unknown=False, listsubrepos=False):
listignored, listclean, listunknown = ignored, clean, unknown
if not self.lfstatus:
try:
return super(lfiles_repo, self).status(node1, node2, match,
- listignored, listclean, listunknown, subrepos)
+ listignored, listclean, listunknown, listsubrepos)
except TypeError:
return super(lfiles_repo, self).status(node1, node2, match,
listignored, listclean, listunknown)
@@ -133,7 +133,7 @@ # were not asked for
try:
result = super(lfiles_repo, self).status(node1, node2, m,
- True, True, True, subrepos)
+ True, True, True, listsubrepos)
except TypeError:
result = super(lfiles_repo, self).status(node1, node2, m,
True, True, True)
|
|
@@ -0,0 +1,27 @@ + Setup
+ $ export LARGEFILES='--config extensions.largefiles=$TESTDIR/..'
+ $ export LHG="hg $LARGEFILES"
+
+status on largefiles repo with subrepo
+ $ $LHG init r1
+ $ cd r1
+ $ echo c1 > f1
+ $ $LHG init sr1
+ $ cd sr1
+ $ echo c2 > f2
+ $ $LHG add f2
+ $ $LHG ci -m 'm1'
+ $ cd ..
+ $ $LHG add --large f1
+ $ cat >> .hgsub <<!
+ > sr1 = sr1
+ > !
+ $ $LHG add .hgsub
+ $ $LHG ci -m 'm2'
+ committing subrepository sr1
+ $ $LHG status
+ $ echo c1:1 > f1
+ $ echo c2:1 > sr1/f2
+ $ $LHG status -S
+ M f1
+ M sr1/f2
|
Loading...