i try to use repo to get tag
for example
i try to get following tag from dalvik
http://android.git.kernel.org/?p=platform/dalvik.git;a=commit;h=6cd260394003a1399cdfdbf66e602d127c05d3d5
i try to do with
$>repo init -u git://android.git.kernel.org/platform/dalvik.git -b
6cd260394003a1399cdfdbf66e602d127c05d3d5
so only using repo cannot be used to get particular tag, right?
and $>repo help init
says
-b REVISION, --manifest-branch=REVISION
manifest branch or revision
i am not sure what 'revision' means
i thought it means the commit
I figured it out. If your have a tag in a manifest file (version.xml for example). You can repo init to a specific tag with the following command:
repo init -u <addres> -b refs/tags/<tagname> -m version.xml