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

[TSVN] [Suggestion] Branch/Tag option to auto-create sub-folders

From: Mark Pickersgill <mpickers_at_tpg.com.au>
Date: 2005-04-13 01:44:54 CEST

Using TortoiseSVN 1.1.5, Build 2990, UNICODE

The Branch/Tag command doesn't seem to create sub-folders, which is
inconsistant with other commands such as "Import" or checkout.

Steps to reproduce:
- Create repository "D:\SVNROOT2"
- Import a folder with a "Test.txt" file in it, into
"file:///D:/SVNROOT2/test2/trunk".
- Checkout the project from "file:///D:/SVNROOT2/test2/trunk" into
"D:\projects\test2"
- Select the "Branch/Tag..." option from the TortoiseSVN submenu
- In the Branch / Tag screen:
    From WC at URL: file:///D:/SVNROOT2/test2/trunk
    To URL: file:///D:/SVNROOT2/test2/tags/tag_1
    "Create the branch/tag on the server directly" is ticked
- Click Ok
- Error message reported is:
    "Out of date: '/test2/tags' in transaction '3'
    You have to update your working copy first"

If I then do an SVN update (which I shouldn't have to as it's in-sync
with the repository), and then attempt the Branch/tag again, I get the
same error.

However, if I change the To URL to "file:///D:/SVNROOT2/test2/tag_1" it
works. Or alternatively if you manually add the "tags" subfolder in,
then the "file:///D:/SVNROOT2/test2/tags/tag_1" To URL works.

This isn't particularly consistant with the "SVN Import" command that
automatically creates folders in the repository if they're needed.
For example, in the above "Steps to reproduce" the Import folder was
"file:///D:/SVNROOT2/test2/trunk". Neither test2 or trunk existing in
the repository before the import command.

cheers
Mark
Received on Wed Apr 13 01:45:15 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.