Thus said "Joe Mistachkin" on Thu, 03 Mar 2016 10:53:41 -0800:

> My guess  is that you  had a  pre-existing checkout recorded  for that
> directory. Please "fossil all ignore"  that checkout manually and then
> try again.

The problem appears to be that tempPath has gained new meaning...

Specifically, it is being used as a basis for generating tempHomePath:

http://www.fossil-scm.org/index.html/artifact/ce83cff974bda2eaaf3eadca2e6c3444b11c3ef2?txt=1&ln=622

But  this  will  be  found  within an  open  checkout  because  tempPath
originally was found  within an open checkout. Indeed, I  find my Fossil
sources cluttered:

$ ls -d home* repo* 
home_16827/  home_20886/  home_30419/  repo_19421/  repo_29743/
home_19421/  home_29743/  repo_16827/  repo_20886/  repo_30419/

I believe these instead should be  created in the directory from which I
am  running the  script, not  where the  script is  found. So,  while in
previous  versions  of  tester.tcl,  the  following  was  safe  (perhaps
unintentionally so)  because it was  never used to  create repositories,
now it is no longer safe because repositories will be created there:

http://www.fossil-scm.org/index.html/artifact/ce83cff974bda2eaaf3eadca2e6c3444b11c3ef2?txt=1&ln=605-612

I  think  a safer  default  for  tempPath is  [pwd]  and  not where  the
tester.tcl is found. The following  change permits the testing to resume
for me:

Index: test/tester.tcl
==================================================================
--- test/tester.tcl
+++ test/tester.tcl
@@ -596,11 +596,11 @@
 proc third_to_last_data_line {} {
   return [lindex [split [normalize_result] \n] end-2]
 }
 
 set tempPath [expr {[info exists env(TEMP)] ? \
-    $env(TEMP) : [file dirname [info script]]}]
+    $env(TEMP) : [pwd]}]
 
 if {$tcl_platform(platform) eq "windows"} {
   set tempPath [string map [list \\ /] $tempPath]
 }
 


Thoughts?

Thanks,

Andy
-- 
TAI64 timestamp: 4000000056d8a0ae


_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to