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

List:       vtk-developers
Subject:    Re: [vtk-developers] Another stupid git question
From:       Brad King <brad.king () kitware ! com>
Date:       2010-04-29 19:49:23
Message-ID: 4BD9E2C3.4010703 () kitware ! com
[Download RAW message or body]

David E DeMarle wrote:
> I think this:
> 
> #update what your machine knows about the server
> git fetch
> 
> #make your files reflect what the main line on the server had as of 3AM
> git checkout `git rev-list -n1 --before="03:00:00" origin/master`

Commit times are recorded when the commits are created by each developer
locally.  There is no record of when a commit was pushed (at least that
is accessible remotely).  If I committed yesterday but didn't push until
today then the above method would still get my commit even though it was
not actually available as of 3am last night.  This is the nature of
distributed version control.

We plan to switch to the branchy workflow described by "git help workflows".
After that the "master" branch should be fairly stable.  It will be used
to prepare releases with regular merges of mature topics (features).

We also plan to start publishing a "nightly/master" branch that is
updated by a robot on the server at the "nightly start time" each day.
This is useful for nightly submissions to CDash to test a consistent
version.  There won't be a record in the repository of the nightly
version more than one day old though.  This will be available from
CDash though.

-Brad
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtk-developers

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

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