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

RE: Admin only move / handling manual moves

From: Messer, Nathan <Nathan.Messer_at_Teradyne.com>
Date: 2006-03-17 08:58:54 CET

Thanks, I'd not thought of copying specific versions, that might do the
job, although it's not as clean as what I'd ideally like to do.


I'm trying to separate out the actual moving/renaming etc of files, from
informing subversion about that. It's so that the integration with the
system that currently handles all that is simpler.




From: Nico Kadel-Garcia [mailto:nkadel@comcast.net]
Sent: 16 March 2006 12:17
To: Messer, Nathan; users@subversion.tigris.org
Subject: Re: Admin only move / handling manual moves


A subversion move is two operations: first, it copies the old file to
the new location along with its logs (basically by changing the
information in the database about where that file is). Then it deletes
the old file (by telling the database it's not at that old location
anymore). But the information about the file is still there: the "copy"
operation can be done from older versions of the file, which should
still be in the subversion database and can be referred to by revision


Can you look up whether the file is still there in the subversion server
itself, maybe with old revisions? You should be able to copy *that* into
place, even without the current file available.


----- Original Message -----

        From: Messer, Nathan <mailto:Nathan.Messer@Teradyne.com>

        To: users@subversion.tigris.org

        Sent: Thursday, March 16, 2006 6:21 AM

        Subject: Admin only move / handling manual moves



            I'm looking for a way to tell subversion that I have moved a
file from one place to another, after I've done it.


        I'm NOT looking for a way for subversion to figure out what's


        I saw this message:
http://svn.haxx.se/dev/archive-2003-07/0076.shtml which implied that it
should be possible with "svn move -force", however I tried that and it
didn't work, complaining that the source file didn't exist.


        I'm looking for something either available in the subversion
client, or accessible by some programming language (preferably Java), or
even a third party library.


        I'm looking for something like JavaSVN's "doVirtualCopy" method,
however I can't use that due to its license.


        Thanks for any help,


        Nathan Messer
Received on Fri Mar 17 09:01:19 2006

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