svn2git

Kde SVN2Git tags not fetched completely

牧云@^-^@ 提交于 2019-12-11 14:09:39
问题 After running Kde svn2git for migrating a single svn repo (with over 26,000 revisions) into several git repos, the tags were not completely fetched. In this case the names of the tags are the same as the name of the branches. After finished the migration step some of the new git repositories contain a few of the original tags and some of them none of the them. There are not errors thrown. Among the aproaches I tried to solve the problem there are: Created a rule with one of the tags that are

Svn2git: Add revision number to git commit title

寵の児 提交于 2019-12-10 23:16:27
问题 I want to add the svn revision to every git commit title, so can I can see every Revision in each commit in the history of our Team Foundation Server. I already tried editing a commit with "--amend", but this way it just makes a new commit (and the history becomes incorrect). Also I dont wanna edit every commit one by one. Screenshot of what I wanna archieve The Screenshot shows what I did with --ammend. I'm using svn2git for the Migration. 回答1: There are pleny tools called svn2git . If you

Exclude deleted svn branches/tags on migration to git (git-svn)

荒凉一梦 提交于 2019-12-08 11:58:16
问题 I'm currently migrating a huge repository with a long history from SVN to git. The svn repository has many branches and tags. I've cleaned up a lot of them from the SVN repo, but when I use the git svn clone command, it clone all the deleted branches and tags as well. Question is, is there an efficient and easy way (simple command) to exclude fetching deleted branches and tags with git svn or svn2git (or any other tool for that matter)? 回答1: TL;DR: Yes, if you use the right svn2git tool For a

nirvdrum svn2git fetch from interrupted clone

拟墨画扇 提交于 2019-12-08 03:21:31
I am using the below svn2git tool to migrate the repo. I have initiated the clone process and got interrupted due to network connectivity. svn2git svn://repo/repo-name --tags tags --trunk trunk --branches branches --authors "~\authors.txt" https://github.com/nirvdrum/svn2git Is there a way to restart the clone process from where it got interrupted? I have executed the above command again and got the below error message. In Pro Git, I think we can restart the clone using git svn fetch . Is there any similar command in svn2git? Use of uninitialized value in substitution (s///) at /usr/lib/perl5

svn2git: Cannot setup tracking information

你离开我真会死。 提交于 2019-12-05 18:16:04
问题 I am trying to migrate a SVN project to git with thel help of svn2git. When executing the command it exits with the following error: Running command: git branch --track "0.0.9" "remotes/svn/0.0.9" fatal: Cannot setup tracking information; starting point 'remotes/svn/0.0.9' is not a branch. Started it with: svn2git http://<host>/<project> I can't find any solution for it and it seems not many users has the same problem. What can I do to solve this problem? 回答1: I had the same problem using

svn2git: Cannot setup tracking information

杀马特。学长 韩版系。学妹 提交于 2019-12-04 01:40:49
I am trying to migrate a SVN project to git with thel help of svn2git. When executing the command it exits with the following error: Running command: git branch --track "0.0.9" "remotes/svn/0.0.9" fatal: Cannot setup tracking information; starting point 'remotes/svn/0.0.9' is not a branch. Started it with: svn2git http://<host>/<project> I can't find any solution for it and it seems not many users has the same problem. What can I do to solve this problem? I had the same problem using Debian Sid (the version of "git" is 1:1.8.3.2-1). Before I already failed on Debian Squeeze using the stock

SVN2Git object reference error

梦想的初衷 提交于 2019-12-02 20:08:32
问题 My problem: Migration by an Ubunut VM in Windows; Windows had a blue screen of death; Windows restarted; the migration was damaged! ~/folder$ svn2git --rebase error: refs/remotes/svn/some_branch does not point to a valid object! fatal: git cat-file 81974ef70e6b9dba85295bf7341dd6808c03250d: bad file cat-file commit 81974ef70e6b9dba85295bf7341dd6808c03250d: command returned error: 128 command failed: git svn fetch I already tried to fix my problem like mentioned in these answers: https:/

SVN2Git object reference error

偶尔善良 提交于 2019-12-02 09:17:15
My problem: Migration by an Ubunut VM in Windows; Windows had a blue screen of death; Windows restarted; the migration was damaged! ~/folder$ svn2git --rebase error: refs/remotes/svn/some_branch does not point to a valid object! fatal: git cat-file 81974ef70e6b9dba85295bf7341dd6808c03250d: bad file cat-file commit 81974ef70e6b9dba85295bf7341dd6808c03250d: command returned error: 128 command failed: git svn fetch I already tried to fix my problem like mentioned in these answers: https://stackoverflow.com/a/802297/575643 https://stackoverflow.com/a/12371337/575643 Unfortunately none helped me so