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

Re: Can someone enlighten me?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-09-24 17:15:44 CEST

On Tue, 2002-09-24 at 04:58, Kean Johnston wrote:
> It gets
> difficult to remember that revision 386419 had the fix
> to the bug that was introduced at revision 353816.

One solution here is to learn to use branches and tags more--or, in
Subversion speak, learn to use directory copies more. CVS discourages
branches and tags because:

  1. They're slow

  2. Once you've created a branch or tag, it clutters up the header of
each file's log output forever. (Unless you rewrite history by
destroying the branch or tag.)

By contrast, Subversion makes directory copies fast, and also makes it
just as fast an easy to delete a directory copy (without rewriting
history) once you don't need it any more. So you can maintain a current
set of tags (copies) really easily.

So, instead of telling your coworkers that r386419 has the bug fix, tell
them that /tags/fix-for-bug has the bug fix. A simple "svn log
/tags/fix-for-bug" will tell them the revision number which created that
directory copy, if they really want it for some reason.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 24 17:18:52 2002

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

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