Fossil SCM
Make sure 'repo_init' is called before 'pwd'.
Commit
b9558349f970e0727b4c872207bc145ad0632dd6
Parent
b460373e015a2b0…
2 files changed
+1
-3
+1
-3
+1
-3
| --- test/mv-rm.test | ||
| +++ test/mv-rm.test | ||
| @@ -22,18 +22,16 @@ | ||
| 22 | 22 | |
| 23 | 23 | ######################################## |
| 24 | 24 | # Setup: Add Files and Commit # |
| 25 | 25 | ######################################## |
| 26 | 26 | |
| 27 | -set rootDir [file normalize [pwd]] | |
| 27 | +repo_init; set rootDir [file normalize [pwd]] | |
| 28 | 28 | |
| 29 | 29 | set undoMsg "\n \"fossil undo\" is\ |
| 30 | 30 | available to undo changes to the\ |
| 31 | 31 | working checkout." |
| 32 | 32 | |
| 33 | -repo_init | |
| 34 | - | |
| 35 | 33 | write_file f1 "f1" |
| 36 | 34 | write_file f2 "f2" |
| 37 | 35 | write_file f3 "f3" |
| 38 | 36 | write_file f4 "f4" |
| 39 | 37 | write_file f5 "f5" |
| 40 | 38 |
| --- test/mv-rm.test | |
| +++ test/mv-rm.test | |
| @@ -22,18 +22,16 @@ | |
| 22 | |
| 23 | ######################################## |
| 24 | # Setup: Add Files and Commit # |
| 25 | ######################################## |
| 26 | |
| 27 | set rootDir [file normalize [pwd]] |
| 28 | |
| 29 | set undoMsg "\n \"fossil undo\" is\ |
| 30 | available to undo changes to the\ |
| 31 | working checkout." |
| 32 | |
| 33 | repo_init |
| 34 | |
| 35 | write_file f1 "f1" |
| 36 | write_file f2 "f2" |
| 37 | write_file f3 "f3" |
| 38 | write_file f4 "f4" |
| 39 | write_file f5 "f5" |
| 40 |
| --- test/mv-rm.test | |
| +++ test/mv-rm.test | |
| @@ -22,18 +22,16 @@ | |
| 22 | |
| 23 | ######################################## |
| 24 | # Setup: Add Files and Commit # |
| 25 | ######################################## |
| 26 | |
| 27 | repo_init; set rootDir [file normalize [pwd]] |
| 28 | |
| 29 | set undoMsg "\n \"fossil undo\" is\ |
| 30 | available to undo changes to the\ |
| 31 | working checkout." |
| 32 | |
| 33 | write_file f1 "f1" |
| 34 | write_file f2 "f2" |
| 35 | write_file f3 "f3" |
| 36 | write_file f4 "f4" |
| 37 | write_file f5 "f5" |
| 38 |
+1
-3
| --- test/th1-repo.test | ||
| +++ test/th1-repo.test | ||
| @@ -25,13 +25,11 @@ | ||
| 25 | 25 | |
| 26 | 26 | ######################################## |
| 27 | 27 | # Setup: Add Files and Commit # |
| 28 | 28 | ######################################## |
| 29 | 29 | |
| 30 | -set rootDir [file normalize [pwd]] | |
| 31 | - | |
| 32 | -repo_init | |
| 30 | +repo_init; set rootDir [file normalize [pwd]] | |
| 33 | 31 | |
| 34 | 32 | write_file f1.md "f1" |
| 35 | 33 | write_file f2.md "f2" |
| 36 | 34 | write_file f3.txt "f3" |
| 37 | 35 | write_file f4.md "f4" |
| 38 | 36 |
| --- test/th1-repo.test | |
| +++ test/th1-repo.test | |
| @@ -25,13 +25,11 @@ | |
| 25 | |
| 26 | ######################################## |
| 27 | # Setup: Add Files and Commit # |
| 28 | ######################################## |
| 29 | |
| 30 | set rootDir [file normalize [pwd]] |
| 31 | |
| 32 | repo_init |
| 33 | |
| 34 | write_file f1.md "f1" |
| 35 | write_file f2.md "f2" |
| 36 | write_file f3.txt "f3" |
| 37 | write_file f4.md "f4" |
| 38 |
| --- test/th1-repo.test | |
| +++ test/th1-repo.test | |
| @@ -25,13 +25,11 @@ | |
| 25 | |
| 26 | ######################################## |
| 27 | # Setup: Add Files and Commit # |
| 28 | ######################################## |
| 29 | |
| 30 | repo_init; set rootDir [file normalize [pwd]] |
| 31 | |
| 32 | write_file f1.md "f1" |
| 33 | write_file f2.md "f2" |
| 34 | write_file f3.txt "f3" |
| 35 | write_file f4.md "f4" |
| 36 |