Fossil

Check-in [a25bafb7]
Login

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

Overview
Comment:Bugfix. Allow for removal of a path from a workspace which was not added to the workspace yet. Issue a warning when encontering this.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: a25bafb76a56dd2d184212b7570eb923c5bb028a
User & Date: aku 2008-02-14 04:27:42
Context
2008-02-16
06:43
Created a memory tracking subsystem to investigate memory consumption of the system in general, and pass InitCsets in particular. getmemory series is a postprocessor pulling the data out of the log and into a tables gnuplot is able to handle. check-in: 8287044e user: aku tags: trunk
2008-02-14
04:27
Bugfix. Allow for removal of a path from a workspace which was not added to the workspace yet. Issue a warning when encontering this. check-in: a25bafb7 user: aku tags: trunk
04:26
Tune log output tracking the creation workspace objects, make them less stilted. check-in: 300f3126 user: aku tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tools/cvs2fossil/lib/c2f_wsstate.tcl.

44
45
46
47
48
49
50

51



52
53
54
55
56
57
58
	# new revisions. This keeps all unchanged files. Files marked
	# as dead are removed.

	foreach {rid path label rop} $oprevisioninfo {
	    log write 5 wss {$myop($rop) $label}

	    if {$rop < 0} {

		unset mystate($path)



	    } else {
		set mystate($path) [list $rid $label]
	    }
	}
	return
    }








>
|
>
>
>







44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
	# new revisions. This keeps all unchanged files. Files marked
	# as dead are removed.

	foreach {rid path label rop} $oprevisioninfo {
	    log write 5 wss {$myop($rop) $label}

	    if {$rop < 0} {
		if {[catch {
		    unset mystate($path)
		}]} {
		    log write 0 wss "Removed path \"$path\" is not known to the workspace"
		}
	    } else {
		set mystate($path) [list $rid $label]
	    }
	}
	return
    }