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

Re: Can svn_fs_copy() copy from txn nodes in the same txn?

From: Ph. Marek <philipp.marek_at_bmlv.gv.at>
Date: 2007-11-08 14:36:04 CET

On Donnerstag, 8. November 2007, C. Michael Pilato wrote:
> Ph. Marek wrote:
> > Not if both are new files:
> > $ svnadmin create r
> > $ svn co file:///tmp/test/r wc
> > Checked out revision 0.
> > $ cd wc/
> > $ date > f1
> > /wc$ svn add f1
> > A f1
> > /wc$ svn cp f1 f2
> > svn: Cannot copy or move 'f1': it's not in the repository yet; try
> > committing first
>
> Seems it'd be pretty trivial to teach the Subversion command-line that 'svn
> copy schedule-add-file' should just do a literal file copy and schedule the
> result for addition (without history).
If I understand you correctly this is *not* the solution.

Imagine f1 being a 100MB copy of /dev/urandom, or a 2GB video (both
incompressible) - then you know why I'd like to have some kind of link; even
if it's a copyfrom, which disturbs the history of f2.

If the files are not in some way related, subversion will store both
independently - and use too much space.

Regards,

Phil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 8 14:56:28 2007

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.