Error when trying clone release 5.6.0-HF31

Hi,

When I trying to clone release 5.6.0-HF31 I have this error

python clone.py release-5.6.0-HF31
$> git fetch origin
$> git checkout --track -b release-5.6.0-HF31 origin/release-5.6.0-HF31 -q
fatal: Cannot update paths and switch to branch 'release-5.6.0-HF31' at the same time.
Did you intend to checkout 'origin/release-5.6.0-HF31' which can not be resolved as commit?
[ERROR] Command 'git checkout --track -b release-5.6.0-HF31 origin/release-5.6.0-HF31 -q' returned non-zero exit code (128)

Then, if I try to checkout release 5.6.0-HF31 I have also this error:

error: pathspec 'release-5.6.0-HF30' did not match any file(s) known to git.

When I go on github, the repository nuxeo root doesn't have release 5.6.0-HF30 and 5.6.0-HF31 whereas on the nuxeo-dm repository the release 5.6.0-HF30 and HF31 exists.

How can I checkout releasea 5.6.0-HF31 ?

Thanks for your help. David

0 votes

1 answers

1810 views

ANSWER



Hi,

I've pushed the missing tag release-5.6.0-HF30.
About release-5.6.0-HF31, you must issue “git fetch --tags” to retrieve the tags (fetch command does not include all tags by default):

$ git fetch --tags 
$ ./clone.py release-5.6.0-HF31
[.]
$> git fetch origin
$> git checkout release-5.6.0-HF31 -q
(...)

I created a JIRA issue to improve the clone script, making it include tags: NXP-14044

Regards,

0 votes