Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Great Git resources -- thanks!




Hi Stephen/Vu Hung,


On 06/02/11 16:41, Stephen J. Turnbull wrote:
Nguyen Vu Hung writes:
  >  >  What I disliked about CVS was how each file had a different
  >  >  version.  Perhaps that was meant to give flexibility, but it
  >  >  was awfully confusing.  Also didn't like the version numbers
  >  >  with decimals.  So, SVN fixed my two biggest gripes.

  >  Sounds like the color of a bikeshed.

Not really, IMHO.  The per-file versioning (I doubt you meant this,
though), makes it hard to revert to a specific version-that-worked-
for-you unless (a) it was tagged or (b) you have an exact date for
when you last updated that workspace.

The decimal versions are not as big a problem, but they are quite
finicky to parse in scripts.


Yes, that's basically what I meant. As I more or less work alone, there are no milestones to tag and rarely any branches. As I perhaps already said, I'm using it for backup -- in a way. Perhaps I may have ideas that I would simultaneously like to try, this is rare since I multitask poorly. :-)

So, I found tagging in CVS to be a bit bothersome. I'm happy with how SVN does things but I'm open to something else improving on it.


Aside to Raymond: git does not have revision numbers at all.  Instead,
you count backward from a named revision (usually a tag or branch
head).  Mercurial has Subversion-like numerical revision numbers (but
without the "r" prefix).  Bazaar has revision numbers, but like CVS
and RCS uses a dotted syntax to indicate branch structure.  In both
Mercurial and Bazaar branch numbers are somewhat unstable (different
workspaces may report different numbers for the identical revision
content), but for small teams who sync often, this may not be a
problem.


I see. I was under the impression that git would have retained whatever motivated Subversion's approach. :-) But I guess integral revision numbers it isn't for everyone; I'll take a look and try to get use to it.

Thanks for heads-up!

Ray




Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links