The dumpfile dumper and parser are nearly done, coming along very
well. I just need to
a) flesh out the parser vtable to build txns and commit them
b) rewrite/simplify/fix things that gstein discovers. :-)
But for public amusement, I've included a sample dumpfile in this
mail, as well as the output coming from the parser vtable.
----------------------------------------------------------------------
SVN-fs-dump-format-version: 1
Revision-number: 0
Content-length: 93
K 8
svn:date
V 64
Tue 20 Nov 2001 14:42:15.273118 (day 324, dst 0, gmt_off -21600)
PROPS-END
Node-path: /
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Revision-number: 1
Content-length: 162
K 7
svn:log
V 27
Log message for revision 1.
K 10
svn:author
V 3
foo
K 8
svn:date
V 64
Tue 20 Nov 2001 14:42:16.513275 (day 324, dst 0, gmt_off -21600)
PROPS-END
Node-path: A
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/B
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/B/lambda
Node-kind: file
Node-action: add
Content-length: 36
PROPS-END
This is the file 'lambda'.
Node-path: A/B/E
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/B/E/alpha
Node-kind: file
Node-action: add
Content-length: 35
PROPS-END
This is the file 'alpha'.
Node-path: A/B/E/beta
Node-kind: file
Node-action: add
Content-length: 34
PROPS-END
This is the file 'beta'.
Node-path: A/B/F
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/mu
Node-kind: file
Node-action: add
Content-length: 32
PROPS-END
This is the file 'mu'.
Node-path: A/C
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/D
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/D/gamma
Node-kind: file
Node-action: add
Content-length: 35
PROPS-END
This is the file 'gamma'.
Node-path: A/D/G
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/D/G/rho
Node-kind: file
Node-action: add
Content-length: 33
PROPS-END
This is the file 'rho'.
Node-path: A/D/G/pi
Node-kind: file
Node-action: add
Content-length: 32
PROPS-END
This is the file 'pi'.
Node-path: A/D/G/tau
Node-kind: file
Node-action: add
Content-length: 33
PROPS-END
This is the file 'tau'.
Node-path: A/D/H
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Node-path: A/D/H/chi
Node-kind: file
Node-action: add
Content-length: 33
PROPS-END
This is the file 'chi'.
Node-path: A/D/H/omega
Node-kind: file
Node-action: add
Content-length: 35
PROPS-END
This is the file 'omega'.
Node-path: A/D/H/psi
Node-kind: file
Node-action: add
Content-length: 33
PROPS-END
This is the file 'psi'.
Node-path: iota
Node-kind: file
Node-action: add
Content-length: 34
PROPS-END
This is the file 'iota'.
Revision-number: 2
Content-length: 141
K 7
svn:log
V 4
blah
K 10
svn:author
V 7
sussman
K 8
svn:date
V 63
Mon 6 May 2002 12:17:59.448625 (day 126, dst 1, gmt_off -18000)
PROPS-END
Node-path: A/B/lambda
Node-kind: file
Node-action: replace
Content-length: 10
PROPS-END
Node-path: A/D/H
Node-kind: dir
Node-action: replace
Content-length: 10
PROPS-END
Node-path: A/D/H/moo
Node-kind: file
Node-action: add
Content-length: 10
PROPS-END
Node-path: foo
Node-kind: file
Node-action: add
Content-length: 10
PROPS-END
Node-path: bardir
Node-kind: dir
Node-action: add
Content-length: 10
PROPS-END
Revision-number: 3
Content-length: 140
K 7
svn:log
V 3
bal
K 10
svn:author
V 7
sussman
K 8
svn:date
V 63
Mon 6 May 2002 12:51:11.760000 (day 126, dst 1, gmt_off -18000)
PROPS-END
Node-path: iota
Node-action: delete
----------------------------------------------------------------------
<<< Got new record for revision 0
Set revision property 'svn:date' to 'Tue 20 Nov 2001 14:42:15.273118 (day 324, dst 0, gmt_off -21600)'
[[[ Got new record for node path : /
End of node path : / ]]]
End of revision 0 >>>
<<< Got new record for revision 1
Set revision property 'svn:log' to 'Log message for revision 1.'
Set revision property 'svn:author' to 'foo'
Set revision property 'svn:date' to 'Tue 20 Nov 2001 14:42:16.513275 (day 324, dst 0, gmt_off -21600)'
[[[ Got new record for node path : A
End of node path : A ]]]
[[[ Got new record for node path : A/B
End of node path : A/B ]]]
[[[ Got new record for node path : A/B/lambda
Sorry, not interested in node's fulltext.
End of node path : A/B/lambda ]]]
[[[ Got new record for node path : A/B/E
End of node path : A/B/E ]]]
[[[ Got new record for node path : A/B/E/alpha
Sorry, not interested in node's fulltext.
End of node path : A/B/E/alpha ]]]
[[[ Got new record for node path : A/B/E/beta
Sorry, not interested in node's fulltext.
End of node path : A/B/E/beta ]]]
[[[ Got new record for node path : A/B/F
End of node path : A/B/F ]]]
[[[ Got new record for node path : A/mu
Sorry, not interested in node's fulltext.
End of node path : A/mu ]]]
[[[ Got new record for node path : A/C
End of node path : A/C ]]]
[[[ Got new record for node path : A/D
End of node path : A/D ]]]
[[[ Got new record for node path : A/D/gamma
Sorry, not interested in node's fulltext.
End of node path : A/D/gamma ]]]
[[[ Got new record for node path : A/D/G
End of node path : A/D/G ]]]
[[[ Got new record for node path : A/D/G/rho
Sorry, not interested in node's fulltext.
End of node path : A/D/G/rho ]]]
[[[ Got new record for node path : A/D/G/pi
Sorry, not interested in node's fulltext.
End of node path : A/D/G/pi ]]]
[[[ Got new record for node path : A/D/G/tau
Sorry, not interested in node's fulltext.
End of node path : A/D/G/tau ]]]
[[[ Got new record for node path : A/D/H
End of node path : A/D/H ]]]
[[[ Got new record for node path : A/D/H/chi
Sorry, not interested in node's fulltext.
End of node path : A/D/H/chi ]]]
[[[ Got new record for node path : A/D/H/omega
Sorry, not interested in node's fulltext.
End of node path : A/D/H/omega ]]]
[[[ Got new record for node path : A/D/H/psi
Sorry, not interested in node's fulltext.
End of node path : A/D/H/psi ]]]
[[[ Got new record for node path : iota
Sorry, not interested in node's fulltext.
End of node path : iota ]]]
End of revision 1 >>>
<<< Got new record for revision 2
Set revision property 'svn:log' to 'blah'
Set revision property 'svn:author' to 'sussman'
Set revision property 'svn:date' to 'Mon 6 May 2002 12:17:59.448625 (day 126, dst 1, gmt_off -18000)'
[[[ Got new record for node path : A/B/lambda
End of node path : A/B/lambda ]]]
[[[ Got new record for node path : A/D/H
End of node path : A/D/H ]]]
[[[ Got new record for node path : A/D/H/moo
End of node path : A/D/H/moo ]]]
[[[ Got new record for node path : foo
End of node path : foo ]]]
[[[ Got new record for node path : bardir
End of node path : bardir ]]]
End of revision 2 >>>
<<< Got new record for revision 3
Set revision property 'svn:log' to 'bal'
Set revision property 'svn:author' to 'sussman'
Set revision property 'svn:date' to 'Mon 6 May 2002 12:51:11.760000 (day 126, dst 1, gmt_off -18000)'
[[[ Got new record for node path : iota
End of node path : iota ]]]
End of revision 3 >>>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri May 10 00:30:53 2002