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

Re: SVN bug? exporting HEAD or numbered revision appears to add/copy

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 23 Jul 2009 13:04:01 +0100

On Thu, Jul 23, 2009 at 12:30:36PM +0100, Rob Hubbard wrote:
> Hello,
>
> the following appears to be a bug in SVN:
> when exporting from the HEAD revision, SVN appears to be adding a file
> (as if the command was a copy rather than an export)
>
> C:\my_project> svn export -rHEAD file.txt file.head.txt
> A file.head.txt
> Export complete.

You're not using export as it is meant to be used.
You should not be exporting things into a working copy.
Export to a new empty, unversioned directory instead.

What problem are you trying to solve by exporting the file into
a working copy? Maybe if you explain this to us we will be able
to show you a better way of solving that problem.

Stefan
Received on 2009-07-23 14:05:09 CEST

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

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