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