##// END OF EJS Templates
tests: demonstrate broken copies.pathcopies()...
Martin von Zweigbergk -
r40486:f1c1b4d0 stable
parent child Browse files
Show More
@@ -1,57 +1,66
1 1
2 2 $ . "$TESTDIR/narrow-library.sh"
3 3
4 4 create full repo
5 5
6 6 $ hg init master
7 7 $ cd master
8 8
9 9 $ mkdir inside
10 10 $ echo inside > inside/f1
11 11 $ mkdir outside
12 12 $ echo outside > outside/f2
13 13 $ hg ci -Aqm 'initial'
14 14
15 15 $ hg mv outside/f2 inside/f2
16 16 $ hg ci -qm 'move f2 from outside'
17 17
18 18 $ echo modified > inside/f2
19 19 $ hg ci -qm 'modify inside/f2'
20 20
21 $ mkdir outside
22 $ echo new > outside/f3
23 $ hg ci -Aqm 'add outside/f3'
21 24 $ cd ..
22 25
23 $ hg clone --narrow ssh://user@dummy/master narrow --include inside
24 requesting all changes
26 $ hg clone --narrow ssh://user@dummy/master narrow --include inside -r 2
25 27 adding changesets
26 28 adding manifests
27 29 adding file changes
28 30 added 3 changesets with 3 changes to 2 files
29 31 new changesets *:* (glob)
30 32 updating to branch default
31 33 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
32 34 $ cd narrow
33 35
34 36 $ hg co 'desc("move f2")'
35 37 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
36 38 $ hg status
37 39 $ hg diff
38 40 $ hg diff --change . --git
39 41 diff --git a/inside/f2 b/inside/f2
40 42 new file mode 100644
41 43 --- /dev/null
42 44 +++ b/inside/f2
43 45 @@ -0,0 +1,1 @@
44 46 +outside
45 47
46 48 $ hg log --follow inside/f2 -r tip
47 49 changeset: 2:bcfb756e0ca9
48 50 tag: tip
49 51 user: test
50 52 date: Thu Jan 01 00:00:00 1970 +0000
51 53 summary: modify inside/f2
52 54
53 55 changeset: 1:5a016133b2bb
54 56 user: test
55 57 date: Thu Jan 01 00:00:00 1970 +0000
56 58 summary: move f2 from outside
57 59
60 $ echo new > inside/f4
61 $ hg ci -Aqm 'add inside/f4'
62 $ hg pull -q
63 $ hg --config extensions.rebase= rebase -d tip
64 rebasing 3:4f84b666728c "add inside/f4"
65 abort: data/outside/f3.i@54e53435331b: no match found!
66 [255]
General Comments 0
You need to be logged in to leave comments. Login now