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

RE: Re: Bug report: Path [...] already exists

From: Mo Braga <mo.braga_at_lbi.com>
Date: Mon, 8 Mar 2010 05:40:10 -0800 (PST)

Hi Simon,
Thanks for that.
I solved the problem by removing the file from the tag and retrying my copy. It worked.
I normally create a tag before any release and use a script to rollout named tags to staging and live. In this particular case, the change was so minuscule that would not be worth to create a new tag.
Mo

> On 8 March 2010 12:21, Mo Braga <Mo.Braga_at_lbi.com> wrote:
> > I am using TortoiseSVN 1.6.7, Build 18415.
> >
> > I tagged a version of my files (tags/0064) and now I needed to edit the
> > working copy of one of the files and copy it to that tag. I opened
> > repo-browser, right-clicked on the file in trunk, selected “Copy to...” and
> > edited the path that comes up by default, changing “.../trunk/...” to
> > “.../tags/0064/...”. When I hit OK, enter the log message and then hit OK
> > again, I get the error message:
> >
> > TortoiseSVN
> > Path ‘tags/0064/.../[myfilename]’ already exists.
> > [OK]
> >
> > Is this a bug or am I doing something wrong?
>
> You say you are editing the file in your working copy, so it sounds
> like the file is already versioned. You cannot copy a versioned file
> over the top of an existing versioned file in ther repository, hence
> your error.
>
> You need to check out a working copy of your tag (or simply switch
> your trunk working copy), edit the file and commit.
>
> I won't ask why you are making changes to a tag. That is a somewhat
> unconventional use of tags, which are normally used to record a
> snapshot, but you are free to use them any way which suits you.
>
> Simon
>
> --
> : ___
> : oo // \\ "De Chelonian Mobile"
> : (_,\/ \_/ \ TortoiseSVN
> : \ \_/_\_/> The coolest Interface to (Sub)Version Control
> : /_/ \_\ http://tortoisesvn.net

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2456498

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-03-08 14:40:12 CET

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