[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: Nico Kadel-Garcia <nkadel_at_comcast.net>
Date: 2006-03-16 13:16:37 CET

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 number.

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
  To: users@subversion.tigris.org
  Sent: Thursday, March 16, 2006 6:21 AM
  Subject: Admin only move / handling manual moves

  Hi,

      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 moved.

   

  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 Thu Mar 16 13:17:58 2006

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