Fossil SCM

Fixing the merge_renames test, so it accepts being called out of a repository. The message given by fossil when trying 'info' out of a repository had changed.

viriketo 2011-10-12 16:20 trunk
Commit 0a7ab3ccb09e2fd4882afa3764080111c5b3075a
1 file changed +1 -1
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -3,11 +3,11 @@
33
#
44
#
55
66
catch {exec $::fossilexe info} res
77
puts res=$res
8
-if {![regexp {not within an open checkout} $res]} {
8
+if {![regexp {use --repository} $res]} {
99
puts stderr "Cannot run this test within an open checkout"
1010
return
1111
}
1212
1313
######################################
1414
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -3,11 +3,11 @@
3 #
4 #
5
6 catch {exec $::fossilexe info} res
7 puts res=$res
8 if {![regexp {not within an open checkout} $res]} {
9 puts stderr "Cannot run this test within an open checkout"
10 return
11 }
12
13 ######################################
14
--- test/merge_renames.test
+++ test/merge_renames.test
@@ -3,11 +3,11 @@
3 #
4 #
5
6 catch {exec $::fossilexe info} res
7 puts res=$res
8 if {![regexp {use --repository} $res]} {
9 puts stderr "Cannot run this test within an open checkout"
10 return
11 }
12
13 ######################################
14

Keyboard Shortcuts

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