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

Re: How do a branch/switch a single file?

From: Brian Huddleston <brianh_at_huddleston.net>
Date: 2005-05-04 03:38:00 CEST

Well, I did try it. But apparently I did it Wrong(tm). I do believe that
you can do it, as the svn book says so. Just not sure how.

If I use b.txt as the second argument I got a directory called b.txt.

If I try to include b.txt in the url, i.e.

svn switch svn+ssh://machine/users/bhuddleston/b.txt I get

svn: URL 'svn+ssh://machine/users/bhuddleston/b.txt' refers to a file, not a
directory.

Assume I am really really outstandingly not bright. What is the syntax for
switching b.txt to the "branch" url?

I am missing something fundamental I think.

-Brian

----- Original Message -----
From: "Garrett Rooney" <rooneg@electricjellyfish.net>
To: "Scott Palmer" <scott.palmer@2connected.org>
Cc: "Brian Huddleston" <brianh@huddleston.net>;
<users@subversion.tigris.org>
Sent: Tuesday, May 03, 2005 8:13 PM
Subject: Re: How do a branch/switch a single file?

>
>>> Basically the desired behavior is that when I run svn up, a.txt and
>>> b.txt are updated from the trunk, but b.txt stays switched to the
>>> workspace dir.
>>
>>
>> You can't get that behavior from Subversion. (Though I would like it
>> too! So you can have shared files, like VSS.)
>
> Well, it depends if he means switching it for everyone, or just for a
> particular working copy. You can absolutely switch a single file in a
> given working copy, just try it and see.
>
> -garrett
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 03:40:35 2005

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

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