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

Re: Do I need directories for branches?

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2005-01-22 17:31:16 CET

Jacob Atzen wrote:

>On Sat, Jan 22, 2005 at 03:29:15PM +0000, Alan Chandler wrote:
>
>
>>Question: Do I have to make a branch by having a "trunck" directory
>>and the copying a whole directory, or can I just make a copy of the
>>basic spreadsheet (in the repository) to a different name, and then
>>checkout that file to work on it?
>>
>>
>
>Did you try? ;-)
>
>Subversion's copy command will let you copy both files and directories.
>You can just 'svn copy spreadsheet.file alternate_spreadsheet.file' and
>then you'll have a copy of your spreadsheet.
>
>
That's true, but note that you can't check out a single file, only a
whole directory. So for branching, it's better to copy directories than
files.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jan 22 17:33:33 2005

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