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