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

Re: Commit fails with path not found

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 3 Jan 2011 17:31:47 -0500

2011/1/3 Pazmińo Mazón, Iván Andrés <iapm270409_at_sri.ad>:
> Hello,
>
> I've moved some files (java classes) from a directory to another, and
> now commit fails complaining the containing folder doesn't exist

One of the things that trip many people up is that Subversion doesn't
know you've moved something until you tell it you have.

I've seen people do this from the command line using rename/move/mv
(depending upon platform, or in a GUI by simply clicking on a
directory and moving it elsewhere.

You have to tell Subversion, you're moving the files. In TortoiseSVN,
you right click on the file, move it, and it'll show you a menu with
items like "SVN Move versioned items here". From the command line, you
have to use "svn move". If you're in Eclipse, you must use the Team
menu item to move things around.

Did you simply move the files from one directory to another, or did
you use the Subversion commands to do this?

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2011-01-03 23:32:28 CET

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.