J'ai un problème lorsque vous essayez de migrer le référentiel de subversion dépôt GitGit-svn 'réfs/télécommandes/tags' existe; ne peut pas créer
Je cours par commande suivante
git svn clone -s --ignore-paths="tags" svn://localhost/web .
et je reçu le message d'erreur comme ci-dessous,
branch_from: /branches/tags => /branches/tags/3.7
Found possible branch point: svn://localhost/web/branches/tags/3.7 => svn://localhost/web/tags/3.7, 15131
Initializing parent: refs/remotes/tags/[email protected]
W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/branches/tags/3.7'
W: Do not be alarmed at the above message git-svn is just searching aggressively for old history.
This may take a while on large repositories
Found possible branch point: svn://localhost/web/branches/workspace_production_3.0 => svn://localhost/web/branches/tags/3.7, 10538
Found branch parent: (refs/remotes/tags/[email protected]) a7067c8515c17c7f0bf8c6390a785426a8de5b83
Following parent with do_switch
Successfully followed parent
error: 'refs/remotes/tags' exists; cannot create 'refs/remotes/tags/[email protected]'
fatal: Cannot lock the ref 'refs/remotes/tags/[email protected]'.
update-ref -m r10539 refs/remotes/tags/[email protected] 67f3c547c7dfac657fcfd7759746f44eb74b187f: command returned error: 128
en fait, je ne veux pas ignorer un chemin, mais il semble que les balises se produisent le problème, donc je l'ai mis à l'ignorer-chemin.
Ai-je raté quelque chose?
double possible de [git push: refs/heads/my/subbranch existe, impossible de créer] (http://stackoverflow.com/questions/22630404/git-push-refs-heads-my-subbranch-exists-cannot-create) – kenorb