Show More
@@ -1,31 +1,31 b'' | |||
|
1 | 1 | $ . "$TESTDIR/narrow-library.sh" |
|
2 | 2 | $ hg init master |
|
3 | 3 | $ cd master |
|
4 | 4 | $ echo treemanifest >> .hg/requires |
|
5 | 5 | $ echo 'contents of file' > file |
|
6 | 6 | $ mkdir foo |
|
7 | 7 | $ echo 'contents of foo/bar' > foo/bar |
|
8 | 8 | $ hg ci -Am 'some change' |
|
9 | 9 | adding file |
|
10 | 10 | adding foo/bar |
|
11 | 11 | |
|
12 | 12 | $ cd .. |
|
13 | 13 | $ hg clone --narrow ssh://user@dummy/master copy --include=foo |
|
14 | 14 | requesting all changes |
|
15 | 15 | adding changesets |
|
16 | 16 | adding manifests |
|
17 | 17 | adding file changes |
|
18 | 18 | added 1 changesets with 1 changes to 1 files |
|
19 | 19 | new changesets * (glob) |
|
20 | 20 | updating to branch default |
|
21 | 21 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
22 | 22 | $ cd copy |
|
23 | 23 | |
|
24 | $ hg debugdirstate | |
|
25 |
n * 20 |
|
|
24 | $ hg debugdirstate --no-dates | |
|
25 | n * 20 * foo/bar (glob) | |
|
26 | 26 | $ mv .hg/dirstate .hg/old_dirstate |
|
27 | 27 | $ dd bs=40 count=1 if=.hg/old_dirstate of=.hg/dirstate 2>/dev/null |
|
28 | 28 | $ hg debugdirstate |
|
29 | 29 | $ hg debugrebuilddirstate |
|
30 | 30 | $ hg debugdirstate |
|
31 | 31 | n * * unset foo/bar (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now