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

[TSVN] Trouble creating a branch

From: Steve Strobel <steve_at_link-comm.com>
Date: 2005-03-18 22:10:44 CET

Background: I am running TSVN V1.1.3 build 2502 in parallel with our old
version control system while I try to get up to speed for a complete
switch. I am using it with a local file store on my own hard drive under
Windows 2000, rather than using svnserve or apache. I have two projects in
the same repository, with about 70 total revisions so far.

Today I tried to create a branch for the first time. The url for the
project I was trying to branch is <file:///C:/SVN_Repo_TCB2/trunk/rlc_345>,
and I tried to create a branch in
<file:///C:/SVN_Repo_TCB2/branches/SS-base, 2005-03-18> (yes I did use a
comma and space in that url - that might be part of the problem).

The first problem I had was that it kept giving me a message saying I
needed to update my WC before branching, even though it was already up to
date. I found an email message in the archive suggesting that the real
problem might be that an intermediate directory didn't yet exist, so I
tried going to the repository viewer and creating branches (I had created
it before, but couldn't see it because I hadn't used Ctrl-F5). I can't
remember if I also manually created a "SS-base, 2005-03-18" directory below
that or not. I then tried to create the branch again, and it appeared to
succeed (it showed that it was "copying" all of the files - I realize that
it is a virtual copy). I got the message reminding me to update or
checkout my working copy.

When I tried to update to <file:///C:/SVN_Repo_TCB2/branches/SS-base,
2005-03-18>, it deleted all of the files in my WC that are under version
control. I would have expected it to have found them to all up to date as
they were, since I was switching to a branch I had just created.

Next I tried to switch back to the trunk,
<file:///C:/SVN_Repo_TCB2/trunk/rlc_345>, so I could try branching again,
but got the error "Unrecognized URL scheme 'C'". I now get that error if I
try to do an update. When I do a commit, it shows "Commit to C" at the top
of the dialog. Check for modifications works normally. Show log says
"Unrecognized URL scheme 'C:/Documents and Settings/Steve Strobel/C'". I
can still browse the repository, now that I changed the url from just "C"
to one of the valid URLs listed in the drop-down menu. Cleanup doesn't
seem to do anything.

I don't know how to get back to a valid state. When I try to use the
switch command, the default URL is "C". When I select
<file:///C:/SVN_Repo_TCB2/trunk/rlc_345> from the drop-down menu, I get the
"Unrecognized URL scheme 'C'" error message. Any suggestions? Any advice
on how to avoid a similar problem in the future? Thanks for your help.

On second thought, I just tried checking out into a new directory. That
works, so I think I will proceed from there. I would still like to know
what went wrong, though.

Steve

P.S. I was surprised when creating the branch to see status messages about
all of the files being "copied". I thought that for branching to be a
constant-time operation, it would avoid dealing with each file individually.

---
Steve Strobel
Link Communications, Inc.
1035 Cerise Rd
Billings, MT 59101-7378
(406) 245-5002 ext 102
(406) 245-4889 (fax)
WWW: http://www.link-comm.com
MailTo:steve@link-comm.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Mar 18 22:13:41 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.