[Gllug] Mercurial or Subversion for single user?

Daniel P. Berrange dan at berrange.com
Wed Mar 24 17:22:08 UTC 2010


On Wed, Mar 24, 2010 at 05:09:30PM +0000, Richard Jones wrote:
> On Wed, Mar 24, 2010 at 12:44:08AM +0000, Nix wrote:
> > It adds *the actual file*, i.e. the *actual content* to the 'index'
> > (also known as the 'cache' or 'staging area', which is a sort of limbo
> > files go into before commit. Change the file after 'git add' then do a
> > 'git commit', and the thing you added, *without that change*, is what
> > gets committed, because what gets added is what's in the index, and the
> > index hasn't changed since you did a 'git add'.
> 
> Yup, the index is an odd and oddly great concept.  It does take a bit
> of getting used to, and is quite unlike any other VCS (AFAIK?)

Perforce (closed source) also had a pretty similar concept to this.

Regards,
Daniel
-- 
|: http://berrange.com/     -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://freshmeat.net/~danielpb/    -o-   http://gtk-vnc.sourceforge.net :|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 196 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20100324/1c06f3a2/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list