On Wednesday 07 July 2004 09:31, Richard Lewis wrote:
> Hi, there seems to be a bug in svn export -rBASE when the working copy
> to be exported contains a directory and a file within that directory
> that have been `svn add'ed but not committed. The attached bash script
> repreoduces this.
Thanks for the reproduction script!
Yeah, the copy_versioned_files() function isn't correctly filtering
versioned files and directories. It's simply parsing all of the entries,
some of which can be partial entries for new files being added. The
following patch seems to fix the problem, although I'm not sure it's
entirely correct. Perhaps one of the other developers can take a look at
this. I've cc'd the dev list in hopes that someone else can take a quick
look at this patch.
-John
-----------------------------------
Only export versioned files when the BASE revision is specified.
* subversion/libsvn_client/export.c
(copy_versioned_files): Ensure that the file or directory has been
committed before exporting when the revision is something other than
WORKING.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 9 02:01:14 2004