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

RE: Re: Best practices rookie question.

From: Paul Koning <pkoning_at_equallogic.com>
Date: Fri, 25 Jan 2008 21:31:50 -0500

Given that branches are "free", my practice is simply to branch right
near the root of the repository. Much of the branch isn't needed, but
it doesn't cost anything. The part that isn't needed won't change, so
it takes no extra space to speak of.

Don't bother deleting what you don't need, you're (1) wasting time, and
(2) wasting space -- because it takes more space to record the deletion
than to leave things alone.

This is one place where you really need to unlearn your CVS lessons --
CVS branching is very very bad while Subversion does this right and very
efficiently.

        paul

> -----Original Message-----
> From: marc gonzalez-carnicer [mailto:carnicer.lists_at_gmail.com]
> Sent: Friday, January 25, 2008 9:24 PM
> To: claudia logan
> Cc: users_at_subversion.tigris.org
> Subject: Re: Best practices rookie question.
>
>
> hi,
>
> 2008/1/26, claudia logan <cvlogan1_at_yahoo.com>:
> > Question 1: Using TortoiseSVN, How do I create a branch
> where only 3 of the
> > 5 directories are branched. what are the best practices.
> What I have done
> > is branched the complete trunk then remove what I dont
> need. But that seems
> > counterproductive. I updated the repository twice when
> there was no need.
>
> i would not remove after branching. if you merge back to trunk, the
> removed items will be removed.
>
> >
> > Question 1b: related to above, but instead of folders,
> individual files. I
> > may need 5 documents out of 10. All located in the same
> area. How do I tag
> > only what I need, leaving the rest?
>
> it seems you haven't remarked yet that copying (branching) is
> 'cheap', i.e., it
> does not take up disk space. otherwise, i don't see why you
> would want to
> tag some subset of the files.
>
> if you really need to release a subset of documents, what i'd do is :
>
> * create a release/export folder on the repo
> * svn copy there the needed files
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-26 03:35:42 CET

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.