Fossil SCM

Make sure 'repo_init' is called before 'pwd'.

drh 2016-03-02 08:35 testerCleanup
Commit b9558349f970e0727b4c872207bc145ad0632dd6
+1 -3
--- test/mv-rm.test
+++ test/mv-rm.test
@@ -22,18 +22,16 @@
2222
2323
########################################
2424
# Setup: Add Files and Commit #
2525
########################################
2626
27
-set rootDir [file normalize [pwd]]
27
+repo_init; set rootDir [file normalize [pwd]]
2828
2929
set undoMsg "\n \"fossil undo\" is\
3030
available to undo changes to the\
3131
working checkout."
3232
33
-repo_init
34
-
3533
write_file f1 "f1"
3634
write_file f2 "f2"
3735
write_file f3 "f3"
3836
write_file f4 "f4"
3937
write_file f5 "f5"
4038
--- 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
--- test/th1-repo.test
+++ test/th1-repo.test
@@ -25,13 +25,11 @@
2525
2626
########################################
2727
# Setup: Add Files and Commit #
2828
########################################
2929
30
-set rootDir [file normalize [pwd]]
31
-
32
-repo_init
30
+repo_init; set rootDir [file normalize [pwd]]
3331
3432
write_file f1.md "f1"
3533
write_file f2.md "f2"
3634
write_file f3.txt "f3"
3735
write_file f4.md "f4"
3836
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button