[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problem with dump/load

From: Féliciano Matias <feliciano.matias_at_free.fr>
Date: 2002-07-16 04:25:04 CEST

Le lun 15/07/2002 à 15:50, cmpilato@collab.net a écrit :
> =?ISO-8859-1?Q?F=E9liciano?= Matias <feliciano.matias@free.fr> writes:
>
> > perhaps this should be (for remove-all-file-contents):
> >
> > Node-path: copied-file
> > Node-kind: file
> > Node-action: add
> > Node-copyfrom-rev: 1
> > Node-copyfrom-path: copy-src
> > Content-length: 10
> > PROPS-END
> >
> > => content empty.
> >
> > Your exemple is something like :
> > "The content is not define here."
>
> Actually, I chose a different method altogether. There is a new
> "Node-notice:" header that tells the loader whether or not it should
> actually attempt to interpret the props/text at all.
>
> Node-notice: [ none* | all | text | props ]
>
> *default value

I prefer something like :

if props defined
'Content-length-props: ??
'...... \n

if text defined :
'Content-lenght-text: ??
'...... \n

the "PROPS-END\n" can be droped.

if test define and empty :
'Content-lenght-text: 0
'\n

Change of text only :
'Node-action: change
'Content-lenght-text: ??
'...... \n

Change of props et text :
'Node-action: change
'Content-lenght-text: ??
'...... \n
'Content-length-props: ??
'...... \n

It can also permit extend dump format V2 :
'Content-length-type: ??
'...... \n

without having to extend "Node-notice".

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 16 04:27:03 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.