[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: Steve Greenland <steveg_at_lsli.com>
Date: 2005-01-24 17:21:16 CET

On Sat, Jan 22, 2005 at 05:31:16PM +0100, Branko ??ibej wrote:
> 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.

If you only have one file in one working copy (which is what the OP
seemed to be saying), have a few extra files in the directory is
probably not a big deal. When you're done with the "branch", you delete
it.

It's often useful to think how one would do things if one wasn't using
VC, and model on that. If you have one spreadsheet, and you want to
experiment, you make a copy of the file, probably in the same dir, and
play with it. If you have a directory with several files (source code,
website, whatever), you'd probably make a copy of the whole directory.
The nice thing about SVN is that you can work in either of these modes.

Steve

-- 
"Outlook not so good." That magic 8-ball knows everything! I'll ask
about Exchange Server next.
                           -- (Stolen from the net)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 24 17:24:42 2005

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