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

Re: Commit Problem

From: Rob Wilkerson <r.d.wilkerson_at_gmail.com>
Date: 2006-08-16 01:21:58 CEST

It was definitely a directory. Why would I make it easy on myself? :-)

On 8/15/06, Gavin Lambert <tsvn@mirality.co.nz> wrote:
> Quoth Rob Wilkerson:
> > I'm trying to commit a few changes, but I keep getting this error message:
> >
> > Commit item 'path/to/a/directory' has copy flag but no copyfrom URL.
> >
> > What does that mean and how can I get rid of it? If the icons are
> > accurate then everything is exactly as I expect it to be. The
> > exclamation point overlays only exist on the files that have been
> > changed (and their ancestor directories, of course).
>
> It sounds like the working copy metadata for 'path/to/a/directory' has
> gotten confused somehow.
>
> Presumably this is a file that you've copied/moved from somewhere else?
> If so, try this procedure:
>
> 1. using regular Explorer (not SVN) make a copy of the file (as a backup)
> 2. SVN Revert the file; it should become unversioned. Delete it.
> 3. Perform the SVN Copy again (if it was a move, you'll have to go to
> the folder where it was moved from, pick Check For Modifications, and
> revert the Delete using the context menu to get the original file back).
> 4. with regular Explorer delete the newly created file and rename the
> backup file to the same name.
>
> This should fix up the metadata while retaining any local modifications
> you've made, if you follow it precisely.
>
> Of course, this assumes that 'path/to/a/directory' really was a file,
> not a folder. If it's a folder, then it becomes more complicated, but
> still has the same basic pattern.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
> For additional commands, e-mail: users-help@tortoisesvn.tigris.org
>
>

-- 
Rob Wilkerson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Aug 16 01:22:06 2006

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