Show More
@@ -1570,6 +1570,15 b' class gitsubrepo(abstractsubrepo):' | |||
|
1570 | 1570 | removed.append(f) |
|
1571 | 1571 | |
|
1572 | 1572 | deleted, unknown, ignored, clean = [], [], [], [] |
|
1573 | ||
|
1574 | if not rev2: | |
|
1575 | command = ['ls-files', '--others', '--exclude-standard'] | |
|
1576 | out = self._gitcommand(command) | |
|
1577 | for line in out.split('\n'): | |
|
1578 | if len(line) == 0: | |
|
1579 | continue | |
|
1580 | unknown.append(line) | |
|
1581 | ||
|
1573 | 1582 | return scmutil.status(modified, added, removed, deleted, |
|
1574 | 1583 | unknown, ignored, clean) |
|
1575 | 1584 |
@@ -119,7 +119,10 b' clone root separately, make different lo' | |||
|
119 | 119 | 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
120 | 120 | |
|
121 | 121 | $ cd ../tb/s |
|
122 | $ hg status --subrepos | |
|
122 | 123 | $ echo f > f |
|
124 | $ hg status --subrepos | |
|
125 | ? s/f | |
|
123 | 126 | $ git add f |
|
124 | 127 | $ cd .. |
|
125 | 128 | |
@@ -422,6 +425,7 b' Check hg update --clean' | |||
|
422 | 425 | $ hg status -S |
|
423 | 426 | M s/g |
|
424 | 427 | A s/f1 |
|
428 | ? s/f2 | |
|
425 | 429 | $ ls s |
|
426 | 430 | f |
|
427 | 431 | f1 |
@@ -430,6 +434,8 b' Check hg update --clean' | |||
|
430 | 434 | $ hg update --clean |
|
431 | 435 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
432 | 436 | $ hg status -S |
|
437 | ? s/f1 | |
|
438 | ? s/f2 | |
|
433 | 439 | $ ls s |
|
434 | 440 | f |
|
435 | 441 | f1 |
General Comments 0
You need to be logged in to leave comments.
Login now