equal
deleted
inserted
replaced
15 > [hooks] |
15 > [hooks] |
16 > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status" |
16 > precommit=sh -c "echo \\"Invoking status precommit hook\\"; hg status" |
17 > EOF |
17 > EOF |
18 |
18 |
19 Create the repo with a couple of revisions of both large and normal |
19 Create the repo with a couple of revisions of both large and normal |
20 files, testing that status correctly shows largefiles and that summary output |
20 files. |
21 is correct. |
21 Test status and dirstate of largefiles and that summary output is correct. |
22 |
22 |
23 $ hg init a |
23 $ hg init a |
24 $ cd a |
24 $ cd a |
25 $ mkdir sub |
25 $ mkdir sub |
26 $ echo normal1 > normal1 |
26 $ echo normal1 > normal1 |
33 Invoking status precommit hook |
33 Invoking status precommit hook |
34 A large1 |
34 A large1 |
35 A normal1 |
35 A normal1 |
36 A sub/large2 |
36 A sub/large2 |
37 A sub/normal2 |
37 A sub/normal2 |
|
38 $ touch large1 sub/large2 |
|
39 $ sleep 1 |
|
40 $ hg st |
|
41 $ hg debugstate --nodates |
|
42 n 644 41 .hglf/large1 |
|
43 n 644 41 .hglf/sub/large2 |
|
44 n 644 8 normal1 |
|
45 n 644 8 sub/normal2 |
|
46 $ hg debugstate --large |
|
47 n 644 7 large1 |
|
48 n 644 7 sub/large2 |
38 $ echo normal11 > normal1 |
49 $ echo normal11 > normal1 |
39 $ echo normal22 > sub/normal2 |
50 $ echo normal22 > sub/normal2 |
40 $ echo large11 > large1 |
51 $ echo large11 > large1 |
41 $ echo large22 > sub/large2 |
52 $ echo large22 > sub/large2 |
42 $ hg commit -m "edit files" |
53 $ hg commit -m "edit files" |