* [Buildroot] Obtaining old SVN revision
@ 2009-05-13 10:32 Will Wagner
2009-05-13 11:51 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Will Wagner @ 2009-05-13 10:32 UTC (permalink / raw)
To: buildroot
Hello all,
Following the transition to git how can I checkout buildroot to a specific SVN revision?
I had hoped that the SVN repository would remain read only for a while but it seems to
have gone away. Presumably I can clone git and then checkout back to the revision I want,
I'm just not sure how to specify that in git. Do I just have to work out what date the SVN
revision was?
Will
--
------------------------------------------------------------------------
Will Wagner will_wagner at carallon.com
Development Manager Office Tel: +44 (0)20 7371 2032
Carallon Ltd, Studio G20, Shepherds Building, Rockley Rd, London W14 0DA
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Obtaining old SVN revision
2009-05-13 10:32 [Buildroot] Obtaining old SVN revision Will Wagner
@ 2009-05-13 11:51 ` Peter Korsgaard
[not found] ` <4A0ABA5D.7040308@free.fr>
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-13 11:51 UTC (permalink / raw)
To: buildroot
>>>>> "Will" == Will Wagner <will_wagner@carallon.com> writes:
Will> Hello all,
Will> Following the transition to git how can I checkout buildroot to
Will> a specific SVN revision?
Will> I had hoped that the SVN repository would remain read only for a while
Will> but it seems to have gone away. Presumably I can clone git and then
Will> checkout back to the revision I want, I'm just not sure how to specify
Will> that in git. Do I just have to work out what date the SVN revision
Will> was?
Hmm, that's a mistake - svn should continue to work (read only). I'll
check with the osuosl.org guys. We don't have any links with the
correspondence between svn and git revisions, but I still have my
git-svn tree, so if you give me the svn rev, then I'll look up the
corresponding git revision.
You can checkout older git revisions with git checkout <rev>. Normally
you can also use the date based syntax (see man git-rev-parse) like:
git show @{2009-05-01}, but the commit dates are not correct for the
pre-git commits.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Obtaining old SVN revision
[not found] ` <4A0ABA5D.7040308@free.fr>
@ 2009-05-13 12:21 ` Peter Korsgaard
2009-05-13 13:27 ` Cyril HAENEL
0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-13 12:21 UTC (permalink / raw)
To: buildroot
>>>>> "Cyril" == Cyril HAENEL <chaenel@free.fr> writes:
Hi,
Cyril> I was using svn too but last week I tried the last git version and
Cyril> everything is OK for my application (arm based).
Cyril> How can I know the revision number it is to be able to come back to it
Cyril> in some week for example ?
You can see the latest version of your tree using git show (before you
run git pull to get updates), and the information also gets stored in
your rootfs (in /etc/br-version).
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Obtaining old SVN revision
2009-05-13 12:21 ` Peter Korsgaard
@ 2009-05-13 13:27 ` Cyril HAENEL
2009-05-13 13:41 ` Peter Korsgaard
0 siblings, 1 reply; 5+ messages in thread
From: Cyril HAENEL @ 2009-05-13 13:27 UTC (permalink / raw)
To: buildroot
>
> You can see the latest version of your tree using git show (before you
> run git pull to get updates), and the information also gets stored in
> your rootfs (in /etc/br-version).
>
>
"git show" give me a lot of thing but nothing which seems to be a
revision number. Or it's the first line ?
commit _61aeb6e484041f4bcc399c3eff2702d5464fb8b3_ ?
Thus if I want in some week to download a fresh buildroot with this
revision, I do
git clone 61aeb6e484041f4bcc399c3eff2702d5464fb8b3
http://git.buildroot.net/buildroot
?
--
Cyril Haenel
Registered Linux User #332632
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Buildroot] Obtaining old SVN revision
2009-05-13 13:27 ` Cyril HAENEL
@ 2009-05-13 13:41 ` Peter Korsgaard
0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2009-05-13 13:41 UTC (permalink / raw)
To: buildroot
>>>>> "Cyril" == Cyril HAENEL <chaenel@free.fr> writes:
Cyril> "git show" give me a lot of thing but nothing which seems to be a
Cyril> revision number. Or it's the first line ?
Cyril> commit _61aeb6e484041f4bcc399c3eff2702d5464fb8b3_ ?
Yes. You can get a more readable alias by 'git describe'
Cyril> Thus if I want in some week to download a fresh buildroot with this
Cyril> revision, I do
No, just git clone like always, and then git checkout 61aeb6e484041f4b
See the git documentation for details: http://git-scm.com/documentation
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-05-13 13:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-13 10:32 [Buildroot] Obtaining old SVN revision Will Wagner
2009-05-13 11:51 ` Peter Korsgaard
[not found] ` <4A0ABA5D.7040308@free.fr>
2009-05-13 12:21 ` Peter Korsgaard
2009-05-13 13:27 ` Cyril HAENEL
2009-05-13 13:41 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox