Fossil

Check-in [b9558349]
Login

Check-in [b9558349]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Make sure 'repo_init' is called before 'pwd'.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | testerCleanup
Files: files | file ages | folders
SHA1: b9558349f970e0727b4c872207bc145ad0632dd6
User & Date: mistachkin 2016-03-02 08:35:41.227
Original User & Date: drh 2016-03-02 08:35:41.227
Context
2016-03-02
08:38
Allow override, via the environment, to make 'require_no_open_checkout' into a NOP. All files were cleaned up. No extra files in checkout.

NOTE: All failing tests also fail on trunk, with the exception of 'json-1'.

Considered failures: amend-comment-5.1 amend-comment-5.2 amend-comment-5.3 amend-comment-5.4 json-1 stash-3-4-mv stash-4-2-diff-CODE stash-4-3-diff-CODE

Ignored failures: json-cap-POSTenv-name json-ROrepo-2-2 json-ROrepo-2-3 merge_multi-4 merge_renames-5 stash-WY-1-CODE stash-2-1-CODE stash-3-2 stash-3-2-show-1 stash-3-2-pop-changes ... (check-in: d1438b40 user: mistachkin tags: testerCleanup)

08:35
Make sure 'repo_init' is called before 'pwd'. ... (check-in: b9558349 user: mistachkin tags: testerCleanup)
08:25
Adjust the 'merge5' test as well. ... (check-in: b460373e user: mistachkin tags: testerCleanup)
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/mv-rm.test.
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41

require_no_open_checkout

########################################
# Setup: Add Files and Commit          #
########################################

set rootDir [file normalize [pwd]]

set undoMsg "\n \"fossil undo\" is\
available to undo changes to the\
working checkout."

repo_init

write_file f1 "f1"
write_file f2 "f2"
write_file f3 "f3"
write_file f4 "f4"
write_file f5 "f5"
write_file f6 "f6"
write_file f7 "f7"







|





<
<







20
21
22
23
24
25
26
27
28
29
30
31
32


33
34
35
36
37
38
39

require_no_open_checkout

########################################
# Setup: Add Files and Commit          #
########################################

repo_init; set rootDir [file normalize [pwd]]

set undoMsg "\n \"fossil undo\" is\
available to undo changes to the\
working checkout."



write_file f1 "f1"
write_file f2 "f2"
write_file f3 "f3"
write_file f4 "f4"
write_file f5 "f5"
write_file f6 "f6"
write_file f7 "f7"
Changes to test/th1-repo.test.
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39

require_no_open_checkout

########################################
# Setup: Add Files and Commit          #
########################################

set rootDir [file normalize [pwd]]

repo_init

write_file f1.md  "f1"
write_file f2.md  "f2"
write_file f3.txt "f3"
write_file f4.md  "f4"

file mkdir [file join $rootDir subdirA]







|
<
<







23
24
25
26
27
28
29
30


31
32
33
34
35
36
37

require_no_open_checkout

########################################
# Setup: Add Files and Commit          #
########################################

repo_init; set rootDir [file normalize [pwd]]



write_file f1.md  "f1"
write_file f2.md  "f2"
write_file f3.txt "f3"
write_file f4.md  "f4"

file mkdir [file join $rootDir subdirA]