Friday, 15 June 2012

git - fast-import invalid argument -



git - fast-import invalid argument -

i trying migrate mercurial/hg repository git using fast-import.

i ways process when run error:

fatal: unable create 'c:/users/micah_000/desktop/git-gideon/.git/refs/tags/4. 0.6b_-->sfas_4.0.3.lock': invalid argument

i'm not sure how can see original command see invalid argument.

i running on windows 8.1 system, linux/bash savvy.

more diagnostics:

most recent commands before crash

reset refs/tags/3.142.0.2 :5376

reset refs/tags/3.142.0.3 :5385

...

reset refs/tags/test_build_3.143.0.9 :5610

reset refs/tags/test_build_3.143.0.11 :5622

reset refs/tags/3.143.1 :5634

any suggestions?

my solution: bring tortoisehg workbench , click on magnifying glass icon.

put in text box:

tagged()

then scroll through check-ins below. "tags" have little borders/boxes around then.

you can r-click on check ins bad tags add together replacing/sanitized tag names (click "add").

then r-click on same check in , type in name of still existing offending tag name check in. should enable "remove" button. remove it.

i wiped destination git directory , re-ran fast-import successfully.

git repository git-bash git-extensions

No comments:

Post a Comment