Show More
@@ -1,3 +1,15 b'' | |||
|
1 | + umask 027 | |
|
2 | + mkdir test1 | |
|
3 | + cd test1 | |
|
4 | + hg init | |
|
5 | + touch a b | |
|
6 | + hg add a b | |
|
7 | + hg ci -t 'added a b' -u test -d '0 0' | |
|
8 | + cd .. | |
|
9 | + mkdir test2 | |
|
10 | + cd test2 | |
|
11 | + hg init | |
|
12 | + hg pull ../test1 | |
|
1 | 13 | pulling from ../test1 |
|
2 | 14 | requesting all changes |
|
3 | 15 | adding changesets |
@@ -5,6 +17,13 b' adding manifests' | |||
|
5 | 17 | adding file revisions |
|
6 | 18 | modified 2 files, added 1 changesets and 2 new revisions |
|
7 | 19 | (run 'hg update' to get a working copy) |
|
20 | + hg co | |
|
21 | + chmod +x a | |
|
22 | + hg ci -t 'chmod +x a' -u test -d '0 0' | |
|
23 | + cd ../test1 | |
|
24 | + echo 123 | |
|
25 | + hg ci -t 'a updated' -u test -d '0 0' | |
|
26 | + hg pull ../test2 | |
|
8 | 27 | pulling from ../test2 |
|
9 | 28 | searching for changes |
|
10 | 29 | adding changesets |
@@ -12,6 +31,7 b' adding manifests' | |||
|
12 | 31 | adding file revisions |
|
13 | 32 | modified 1 files, added 1 changesets and 1 new revisions |
|
14 | 33 | (run 'hg update' to get a working copy) |
|
34 | + hg heads | |
|
15 | 35 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
16 | 36 | tag: tip |
|
17 | 37 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
@@ -24,6 +44,7 b' user: test' | |||
|
24 | 44 | date: Thu Jan 1 00:00:00 1970 |
|
25 | 45 | summary: a updated |
|
26 | 46 | |
|
47 | + hg history | |
|
27 | 48 | changeset: 2:3ef54330565526bebf37a0d9bf540c283fd133a1 |
|
28 | 49 | tag: tip |
|
29 | 50 | parent: 0:22a449e20da501ca558394c083ca470e9c81b9f7 |
@@ -41,11 +62,14 b' user: test' | |||
|
41 | 62 | date: Thu Jan 1 00:00:00 1970 |
|
42 | 63 | summary: added a b |
|
43 | 64 | |
|
65 | + hg -dv co -m | |
|
44 | 66 | resolving manifests |
|
45 | 67 | ancestor f328b97f7c11 local e7f06daf1cdb remote 629f0b785e0e |
|
46 | 68 | a versions differ, resolve |
|
47 | 69 | merging a |
|
48 | 70 | resolving a |
|
49 | 71 | file a: other 37c42bd6cc03 ancestor b80de5d13875 |
|
50 | -rwxr-xr-x | |
|
51 | -rwxr-xr-x | |
|
72 | + ls -l ../test1/a ../test2/a | |
|
73 | + cut -b 0-10 | |
|
74 | -rwxr-x--- | |
|
75 | -rwxr-x--- |
General Comments 0
You need to be logged in to leave comments.
Login now