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

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

From: Rob Hubbard <rob.hubbard_at_softel.co.uk>
Date: Thu, 23 Jul 2009 12:30:36 +0100

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.
 
    C:\my_project> svn st
    ? file.head.txt
    M file.txt
 
    C:\my_project> svn --version
    svn, version 1.6.3 (r38063)
       compiled Jun 22 2009, 09:59:12
 
    [...]
 
The same is true of a numbered revision.
 
Note that the file is not actually added, as can be seen from the
status. I'm using the version installed from Setup-Subversion-1.6.3.msi
on Windows XP. [Incidentally, this version was installed over a 1.5.x
installation, and required a "repair" following install.]
 
It seems to make no difference if exporting to a location outside the
working copy (e.g. upwards to the parent directory or "ancestor"
directory).
 
Thanks,
Rob.
 

________________________________________________________________
This message has been independently scanned for the Softel Group and cleared of containing viruses and other malicious data.

Powering Television Beyond the Video (TM)

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374737

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-23 13:32:14 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.