Le sam 13/07/2002 à 11:33, Féliciano Matias a écrit :
> Le sam 13/07/2002 à 11:23, Féliciano Matias a écrit :
>
> I reply to me.
> > CONCLUSION :
> > ============
> >
> > "svnadmin dump" seems bogus :
> > - "svnadmin dump" add an useless content when a node indicate only a
> > renaming file and this content is wrong.
> > - when a node indicate only a renamaing file, "svnadmin dump" try to
> > change the content of the node but indicate "Node-action: add".
>
> this two points are only for a binary file (perhaps for all files that
> have a property hash not empty).
>
> > - "svnadmin dump" forget the "real" content when only the property hash
> > is change or when the content has not changed (renaming file).
> >
> > personally, the dump format need to set "property hash" and "real
> > content" independe and it shoud be good to extend "Node-action" for a
> > better legibility.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: dev-help@subversion.tigris.org
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>
It's me again.
I do a small fix in subversion/libsvn_repos/dump.c :
--- subversion-0.13.2.orig/subversion/libsvn_repos/dump.c Sat Jul 13
18:44:13 2002
+++ subversion-0.13.2/subversion/libsvn_repos/dump.c Sat Jul 13 18:59:36
2002
@@ -341,6 +341,13 @@
return SVN_NO_ERROR;
}
+ /* currently, the format dump does not permit to dump either the
props
+ * or the text. We need to do both. */
+ if (must_dump_props || must_dump_text) {
+ must_dump_props = TRUE ;
+ must_dump_text = TRUE ;
+ }
+
/* Start prepping content to dump... */
/* If the node either has no props, or we're not supposed to dump
It is not THE solution. This only resolve the fellowing problems :
> > - "svnadmin dump" add an useless content when a node indicate only a
> > renaming file and this content is wrong.
now the content is right.
> > - "svnadmin dump" forget the "real" content when only the property hash
> > is change or when the content has not changed (renaming file).
the content is present.
I try to found, when a file is rename, why svnadmin always found a
change in property list when the property list si not empty. No way,
It's to complicate to me :o(
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jul 13 22:04:29 2002