##// END OF EJS Templates
merge: changing the mode of a file is also an update...
Mads Kiilerich -
r18334:44bda93d default
parent child Browse files
Show More
@@ -440,6 +440,7 b' def applyupdates(repo, actions, wctx, mc'
440 flags = a[2]
440 flags = a[2]
441 audit(f)
441 audit(f)
442 util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags)
442 util.setflags(repo.wjoin(f), 'l' in flags, 'x' in flags)
443 updated += 1
443 ms.commit()
444 ms.commit()
444 repo.ui.progress(_('updating'), None, total=numupdates, unit=_('files'))
445 repo.ui.progress(_('updating'), None, total=numupdates, unit=_('files'))
445
446
@@ -20,7 +20,7 b' Make sure we notice the change of mode i'
20 M a
20 M a
21
21
22 $ hg up 0
22 $ hg up 0
23 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
23 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
24 $ hg id
24 $ hg id
25 d69afc33ff8a
25 d69afc33ff8a
26 $ test -x a && echo executable -- bad || echo not executable -- good
26 $ test -x a && echo executable -- bad || echo not executable -- good
@@ -79,7 +79,7 b' the changelog should mention file a:'
79
79
80 $ hg -v merge
80 $ hg -v merge
81 resolving manifests
81 resolving manifests
82 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
82 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
83 (branch merge, don't forget to commit)
83 (branch merge, don't forget to commit)
84
84
85 $ cd ../test3
85 $ cd ../test3
@@ -128,7 +128,7 b' the changelog should mention file a:'
128
128
129 $ hg -v merge
129 $ hg -v merge
130 resolving manifests
130 resolving manifests
131 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
131 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
132 (branch merge, don't forget to commit)
132 (branch merge, don't forget to commit)
133
133
134 $ ls -l ../test[123]/a > foo
134 $ ls -l ../test[123]/a > foo
@@ -689,7 +689,7 b' comparison new file'
689 comparison existing file
689 comparison existing file
690
690
691 $ hg up
691 $ hg up
692 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
692 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
693 $ echo a >> a
693 $ echo a >> a
694 $ hg ci -mc
694 $ hg ci -mc
695 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'comparison/tip/a'
695 $ "$TESTDIR/get-with-headers.py" localhost:$HGPORT 'comparison/tip/a'
@@ -59,7 +59,7 b' Simulate a Windows merge:'
59 ancestor: a03b0deabf2b, local: d6fa54f68ae1+, remote: 2d8bcf2dda39
59 ancestor: a03b0deabf2b, local: d6fa54f68ae1+, remote: 2d8bcf2dda39
60 a: update permissions -> e
60 a: update permissions -> e
61 updating: a 1/1 files (100.00%)
61 updating: a 1/1 files (100.00%)
62 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
62 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
63 (branch merge, don't forget to commit)
63 (branch merge, don't forget to commit)
64
64
65 Simulate a Windows commit:
65 Simulate a Windows commit:
@@ -10,7 +10,7 b''
10 $ hg ci -mexecutable
10 $ hg ci -mexecutable
11
11
12 $ hg up 0
12 $ hg up 0
13 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
13 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
14 $ rm a
14 $ rm a
15 $ ln -s symlink a
15 $ ln -s symlink a
16 $ hg ci -msymlink
16 $ hg ci -msymlink
@@ -25,7 +25,7 b''
25 (n)one, e(x)ec or sym(l)ink? n
25 (n)one, e(x)ec or sym(l)ink? n
26 a: update permissions -> e
26 a: update permissions -> e
27 updating: a 1/1 files (100.00%)
27 updating: a 1/1 files (100.00%)
28 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
28 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
29 (branch merge, don't forget to commit)
29 (branch merge, don't forget to commit)
30
30
31
31
@@ -30,7 +30,7 b' Validate update of standalone execute bi'
30 $ hg up -C 0
30 $ hg up -C 0
31 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
31 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
32 $ hg up
32 $ hg up
33 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
33 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
34 $ hg st
34 $ hg st
35
35
36 $ cd ..
36 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now