Problema trying to create a new branch from my working copy.

777 views
Skip to first unread message

the 4 man

unread,
Jun 16, 2009, 5:22:48 AM6/16/09
to us...@tortoisesvn.tigris.org
Hi all!

I've been using TortoiseSvn since 2007. I have never managed to create a new branch/tag from my working copy. I always get the "commit failed....file already exists" message, and I can't understand why!.

I'm creating a new tag/branch, how can a file "already exists"? The file has the same name from it creation (no renames).

What else can I check?

Thanks in advance!

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Simon Large

unread,
Jun 16, 2009, 5:50:28 AM6/16/09
to us...@tortoisesvn.tigris.org
2009/6/16 the 4 man <pk...@arrakis.es>:

> Hi all!
>
> I've been using TortoiseSvn since 2007. I have never managed to create a new branch/tag from my working copy. I always get the "commit failed....file already exists" message, and I can't understand why!.

Nor can we as you don't tell us anything about how you try to create the branch.
What is the source URL?
What is the destination URL?
Are you creating the branch from HEAD, from a specific revision or
from the working copy state?

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=2362395

the 4 man

unread,
Jun 16, 2009, 6:00:10 AM6/16/09
to us...@tortoisesvn.tigris.org
What is the source URL? My working copy, that is linked to the trunk (http://myserver:8080/svn/MyProject/trunk)

What is the destination URL? A new tag, (http://myserver:8080/svn/MyProject/tags/myproject_20090616)

Are you creating the branch from HEAD, from a specific revision or

from the working copy state? As I said, from my working copy.

Thanks for your (fast) reply.

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

Jean-Marc van Leerdam

unread,
Jun 16, 2009, 7:02:49 AM6/16/09
to us...@tortoisesvn.tigris.org
Hi,

2009/6/16 the 4 man <pk...@arrakis.es>:

> What is the source URL? My working copy, that is linked to the trunk (http://myserver:8080/svn/MyProject/trunk)
>
> What is the destination URL? A new tag, (http://myserver:8080/svn/MyProject/tags/myproject_20090616)
>
> Are you creating the branch from HEAD, from a specific revision or
> from the working copy state? As I said, from my working copy.
>

Which version of TSVN are you using and what are the steps you take to
create the tag?

--
Regards,

Jean-Marc
--
. ___
. @@ // \\ "De Chelonian Mobile"
. (_,\/ \_/ \ TortoiseSVN
. \ \_/_\_/> The coolest Interface to (Sub)Version Control
. /_/ \_\ http://tortoisesvn.net

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

the 4 man

unread,
Jun 16, 2009, 7:13:48 AM6/16/09
to us...@tortoisesvn.tigris.org
TortoiseSVN 1.6.2, Build 16344 - 32 Bit , 2009/05/09 13:46:29

Steps:
1. Right button on my project root folder
2. Tortoise --> Branch/Tag
3. From WC at http://myserver8080/svn/myproject/trunk
4. To URL at http://myserver8080/svn/myproject/tags/newsubdir
5. Create copy in reposiroty from Working Copy
6. Ok.

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

Simon Large

unread,
Jun 16, 2009, 7:39:37 AM6/16/09
to us...@tortoisesvn.tigris.org
2009/6/16 the 4 man <pk...@arrakis.es>:
> TortoiseSVN 1.6.2, Build 16344 - 32 Bit , 2009/05/09 13:46:29
>
> Steps:
> 1. Right button on my project root folder
> 2. Tortoise --> Branch/Tag
> 3. From WC at http://myserver8080/svn/myproject/trunk
> 4. To URL at http://myserver8080/svn/myproject/tags/newsubdir
> 5. Create copy in reposiroty from Working Copy
> 6. Ok.

And you are sure that tag name does not already exist? Check in repo
browser. I just tried following the same steps and it works fine.

Personally I don't like creating a tag from a modified working copy. I
always commit the working copy first, then update and create the tag
from that repository revision.

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=2362421

the 4 man

unread,
Jun 16, 2009, 7:54:47 AM6/16/09
to us...@tortoisesvn.tigris.org
Yes, I'm sure. The tag name is completly new.

I'm use to do what you say, but not this time. I have built and uploaded to production some files without a previous "commit & update". If I do what you suggest the code in the tag copy won't be exactly the same code that in production (some of my coworkers have committed changes to the trunk during this morning).

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

Simon Large

unread,
Jun 16, 2009, 8:22:05 AM6/16/09
to us...@tortoisesvn.tigris.org
2009/6/16 the 4 man <pk...@arrakis.es>:
> Yes, I'm sure. The tag name is completly new.
>

So does your working copy contain simple changes within files, or are
there also files/folders which are added, deleted or renamed?

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=2362437

Robin Guest

unread,
Jun 16, 2009, 8:32:14 AM6/16/09
to us...@tortoisesvn.tigris.org
2009/6/16 Simon Large <simon.to...@googlemail.com>

Personally I don't like creating a tag from a modified working copy. I
always commit the working copy first,  then update and create the tag
from that repository revision.

I like to do it from the working copy because, for my tags, I peg all my svn:externals at a specific revision (using the @1234 syntax). I also copy .msi installers, etc, into a new folder in the tag.

The pegged externals and the installer never actually make it into the trunk, nor to my mind should they, so it seems like the logical way to do this.

You could do something similar by creating the tag from the repo browser, but it would require at least two commits then (one for each folder with externals, and one for the installer folder).

I leave my working copy pointing to trunk after tagging, then simply revert the folders with externals property changes, and delete the installer folder.

 

the 4 man

unread,
Jun 16, 2009, 10:18:57 AM6/16/09
to us...@tortoisesvn.tigris.org
My Working Copy is updated until yesterday afternoon (the last time I did the update & commit process). I haven't work on it today.

Now, some files have been modified by my colleages in the trunk, so my files are out-of-date (but they match with the code in production)

In fact, I know that the file I'm having problems with have been update by my colleagues this morning. I'm not sure if it's only a coincidence, or is the source of the problem.

Thanks.

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

Stefan Küng

unread,
Jun 16, 2009, 11:45:12 AM6/16/09
to us...@tortoisesvn.tigris.org
the 4 man wrote:
> Hi all!
>
> I've been using TortoiseSvn since 2007. I have never managed to
> create a new branch/tag from my working copy. I always get the
> "commit failed....file already exists" message, and I can't
> understand why!.
>
> I'm creating a new tag/branch, how can a file "already exists"? The
> file has the same name from it creation (no renames).
>
> What else can I check?

Seems to be a variation of this one:
http://subversion.tigris.org/issues/show_bug.cgi?id=3119

Stefan

--
___
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=2362512

signature.asc
Reply all
Reply to author
Forward
0 new messages