trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2012

Re: [trinity-devel] Revert GIT to a specific date

From: Slávek Banko <slavek.banko@...>
Date: Sat, 29 Sep 2012 03:13:25 +0200
On Saturday 29 of September 2012 02:44:05 Darrell Anderson wrote:
> > If you use in your scripts working tree contents, scripts
> > use what you checkout before using scripts. Checkout simply ensures that
> > the working tree will look like as it was at the required revision.
> >
> > But if you use in your scripts git calls - for example git
> > archive, you have to make an adjustment in those scripts.
>
> This sounds like compiling directly in the GIT tree rather than copying
> "out of source." I am and have been following the wiki to copy the sources
> to a different location to build "out of source."
>
> Darrell
>

How you make: copying "out of source"? Copying the current contents of your 
git working tree? Well - then this is exactly what the checkout prepare.

You can checkout your git working tree to state of 2012-04-01, then copy 
current contents of your working tree (precisely sources in state of 
2012-04-01) "out of source" and build.

Slavek
--