Kiln » Kiln BFiles
Clone URL:  

Fixed /usr/bin/python -> /usr/bin/env python.

Changeset 365d9fb077fe

Parent 781d87b4b827

by David Golub

Changes to 26 files · Browse files at 365d9fb077fe Showing diff from parent 781d87b4b827 Diff from another changeset...

Change 1 of 1 Show Entire File tests/​test-add.py Stacked
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test various tricky bfadd corner cases.  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test basic kiln interaction  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test various tricky bfadd corner cases.  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Every commit needs time stamps so that the commits are unique (Mercurial backout test  # does the same thing).
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test various tricky bfadd corner cases.  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test cloning a repo  
1
 
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test commit (lots of other tests commit all files so just try committing specific files)  #    import os  import common      hgt = common.BfilesTester()    hgt.updaterc()  hgt.announce('test')  os.mkdir('repo1')  os.chdir('repo1')  hgt.hg(['init'])  os.mkdir('dir')  os.mkdir('dir/dir')  hgt.writefile('n1', 'n1')  hgt.writefile('dir/n2', 'n2')  hgt.writefile('dir/dir/n3', 'n3')  hgt.writefile('b1', 'b1')  hgt.writefile('dir/b2', 'b2')  hgt.writefile('dir/dir/b3', 'b3')  hgt.hg(['add', 'n1', 'dir/n2', 'dir/dir/n3'])  hgt.hg(['add', '--bf', 'b1', 'dir/b2', 'dir/dir/b3'])  hgt.hg(['status'],   stdout='''A b1  A dir/b2  A dir/dir/b3  A dir/dir/n3  A dir/n2  A n1  ''')  hgt.hg(['commit', '-m', 'adding', '.kbf/b1'], status=255, stderr="abort: Don't commit bfile standin. Commit bfile.\n")  hgt.hg(['status'],   stdout='''A b1  A dir/b2  A dir/dir/b3  A dir/dir/n3  A dir/n2  A n1  ''')  hgt.hg(['commit', '-m', 'adding', 'n1', 'b1'])  hgt.hg(['status'],   stdout='''A dir/b2  A dir/dir/b3  A dir/dir/n3  A dir/n2  ''')  hgt.hg(['commit', '-m', 'adding', 'dir/dir/n3', 'dir/dir/b3'])  hgt.hg(['status'],   stdout='''A dir/b2  A dir/n2  ''')  hgt.hg(['commit', '-m', 'adding', 'dir/b2', 'dir/n2'])  hgt.hg(['status'])
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test various tricky bfadd corner cases.  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test that kbfconvert handles tags properly  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test copy and rename  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test that edited bfiles show up as modified  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test the fetch extension. Always give it a specific message because the message  # it automatically adds includes the path which is randomly generated.
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test remove  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test basic kiln interaction  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test basic kiln interaction  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test summary  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test various tricky bfadd corner cases.  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test push pull  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test remove  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test that bfiles does not conflict with other extensions  # (e.g. bookmarks) that override localrepository.commit().
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test revert  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test schemes with kiln  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test status  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test summary  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python    # Test update/update -c/update -C  
 
1
 
2
3
4
 
 
1
2
3
4
@@ -1,4 +1,4 @@
-#!/usr/bin/python +#!/usr/bin/env python  #  # Test verify