[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: clarification on git, central repositories and commit access lists
From:       Johannes Sixt <J.Sixt () eudaptics ! com>
Date:       2007-08-20 11:21:51
Message-ID: 46C9794F.BD3060C2 () eudaptics ! com
[Download RAW message or body]

Adam Treat wrote:
> > Don't think too long about that one; neither CVS nor SVN allow you to make
> > atomic commits either.
> 
> Oh? Maybe you are talking about something else, but I mean one commit that touches \
> many submodules.  Such as this: 
> http://lists.kde.org/?l=kde-commits&m=118700029329251&w=2
> 
> ...to pick a recent one.

The commits in the individual sub-projects are not "globally" atomic, of
course, but you don't care; because in your *local* clones they are
atomic (assuming you don't do intervening unrelated commits). Once
you've completed these commits in the sub-projects, you make also a
commit in (your local clone of) the superproject. This finally gives you
the atomicity that you want.

-- Hannes


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic