repo init based on the date

298 views
Skip to first unread message

Dan Raaka

unread,
Apr 19, 2009, 2:27:43 AM4/19/09
to Repo and Gerrit Discussion
How can I checkout the cupcake branch based on the date ?
for example .. March 27th cupcake branch ..

-Dan

Shawn Pearce

unread,
Apr 19, 2009, 8:45:27 PM4/19/09
to repo-d...@googlegroups.com

You can't by date; repo init doesn't support date based points.

Dan Raaka

unread,
Apr 20, 2009, 1:04:53 PM4/20/09
to Repo and Gerrit Discussion
I looked into using export-manifest, however I get an error

$ repo export-manifest -r -o cupcake_mine.xml
repo: 'export-manifest' is not a repo command. See 'repo help'.

$ repo --version
repo version v1.6.5
(from git://android.git.kernel.org/tools/repo.git)
git version 1.5.6.3
Python 2.5.2 (r252:60911, Oct 5 2008, 19:24:49)
[GCC 4.3.2]

What version of repo supports export-manifest ?


On Apr 19, 5:45 pm, Shawn Pearce <s...@google.com> wrote:
> You can't by date; repo init doesn't support date based points.
>

Jean-Baptiste Queru

unread,
Apr 20, 2009, 1:07:25 PM4/20/09
to repo-d...@googlegroups.com
The command is now actually called repo manifest, not repo export-manifest.

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Android Engineer, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Dan Raaka

unread,
Apr 20, 2009, 3:11:21 PM4/20/09
to Repo and Gerrit Discussion
"manifest" did the trick.

what about checkout based on a tag? like v1.6.1 <- I am referring to
OHA repositories
Is there a mapping between those version numbers and dates when they
were created ?

Jean-Baptiste Queru

unread,
Apr 20, 2009, 3:53:56 PM4/20/09
to repo-d...@googlegroups.com
We haven't created many such tags.

For android-sdk-1.5-pre, we have tags "for reference", but the "live"
way to get the source code is to use the android-sdk-1.5-pre manifest
branch (which points to a manifest that directly has the SHA-1 for
each project): see here
http://android.git.kernel.org/?p=platform/manifest.git;a=commit;h=7c733a16553d4748fb869788a248ce0e215b69c1

JBQ

dan raaka

unread,
Apr 20, 2009, 4:11:12 PM4/20/09
to repo-d...@googlegroups.com
From git://android.git.kernel.org/tools/repo          
* [new tag] v1.0 -> v1.0
* [new tag] v1.0.1 -> v1.0.1
* [new tag] v1.0.2 -> v1.0.2
* [new tag] v1.0.3 -> v1.0.3
* [new tag] v1.0.4 -> v1.0.4
* [new tag] v1.0.5 -> v1.0.5
* [new tag] v1.0.6 -> v1.0.6
* [new tag] v1.0.7 -> v1.0.7
* [new tag] v1.0.8 -> v1.0.8
* [new tag] v1.0.9 -> v1.0.9
* [new tag] v1.1 -> v1.1
* [new tag] v1.2 -> v1.2
* [new tag] v1.3 -> v1.3
* [new tag] v1.3.1 -> v1.3.1
* [new tag] v1.3.2 -> v1.3.2
* [new tag] v1.4 -> v1.4
* [new tag] v1.4.1 -> v1.4.1
* [new tag] v1.4.2 -> v1.4.2
* [new tag] v1.4.3 -> v1.4.3
* [new tag] v1.4.4 -> v1.4.4
I was referring "incorrectly" to above as tags for whole source !!.
Reply all
Reply to author
Forward
0 new messages