subgit

Subgit: avoid to synchronize git branches onto svn

北城余情 提交于 2020-01-22 16:12:12
问题 I am trying to use SubGit but I am facing a problem with branches: I would like branches created under Git to live and die inside Git only. I found this: SubGit: How to exclude branches?, but it says The troubles come from merge commits: if commit A is the result of merging branch foo into master, then SubGit creates branches/foo on Subversion side for corresponding parent of commit A. . If you'd prefer to not include SubGit generated branches into branches/* namespace, consider using some

Subgit: avoid to synchronize git branches onto svn

Deadly 提交于 2020-01-22 16:11:13
问题 I am trying to use SubGit but I am facing a problem with branches: I would like branches created under Git to live and die inside Git only. I found this: SubGit: How to exclude branches?, but it says The troubles come from merge commits: if commit A is the result of merging branch foo into master, then SubGit creates branches/foo on Subversion side for corresponding parent of commit A. . If you'd prefer to not include SubGit generated branches into branches/* namespace, consider using some

Skip revisions when installing SubGit repository

雨燕双飞 提交于 2020-01-04 04:49:09
问题 I'm using SubGit to clone a SVN repository. Somewhere along the revisions is a copy of "/" to a certain tag. When SubGit loads every revision, it takes a long time to get this certain tag, which happens to be a copy of "/". This prevents the copy from being made. I have tried setting a minimalRevision, but I need revisions before and after the copy of "/". SubGit is able to get revisions before or revisions after that, but not all revisions and excluding this certain revision. Is there a way

SubGit and .gitattributes

自古美人都是妖i 提交于 2019-12-23 22:26:08
问题 I'm importing an SVN repository into Git, and I have a lot of files with svn:eol-style set. SubGit reads those properties and generates a .gitattributes line for every file. Is there a way to tell it to use a single-liner for every type of file (i.e. *.java text or *.java text eol=lf since we have a style guide rule which mandates that)? I tried to add the info/attributes to the repository just before the import, but there's no change in the generated .gitattributes . Is there a way to do it?

SubGit: How to exclude branches?

偶尔善良 提交于 2019-12-21 13:22:48
问题 I'm testing SubGit as a way of migrating from SVN to Git. What I would like to do is be able to create remote branches in the git repository that all users can use that does not sync back to SVN. I only want SubGit to track the master branch and sync it back to SVN so that we have the freedom to use and share other Git branches. Is there a simple way to do this? Thank you 回答1: The ideal solution would be specifying trunk:refs/heads/master mapping in SubGit configuration, so SubGit would

SubGit: How to exclude branches?

我的梦境 提交于 2019-12-21 13:22:17
问题 I'm testing SubGit as a way of migrating from SVN to Git. What I would like to do is be able to create remote branches in the git repository that all users can use that does not sync back to SVN. I only want SubGit to track the master branch and sync it back to SVN so that we have the freedom to use and share other Git branches. Is there a simple way to do this? Thank you 回答1: The ideal solution would be specifying trunk:refs/heads/master mapping in SubGit configuration, so SubGit would

Does subgit support multiple 'branches' directories?

心不动则不痛 提交于 2019-12-19 09:16:12
问题 Does subgit support multiple 'branches' directories? For example, if one had an SVN repo that went like: trunk/... branches/<branch>/... releases/<release>/... tags/<tag>/... but "releases" was really just release branches. We would want both "branches/" and "releases/" in SVN to become branches in Git. And if a new branch was created in Git, then in SVN we would want a new directory in "branches/" (i.e. "releases/" is deprecated). So what we want is multiple branch mappings, but with with

SubGit: use svn.svnCommitMessage option

霸气de小男生 提交于 2019-12-14 03:58:35
问题 Just seen this feature in the SubGit 3.2.4 release notes: Support for svn.gitCommitMessage and svn.svnCommitMessage options that allow specifying message patterns used by SubGit while generating commit messages. But i cannot find any example on the syntax. I want to do a one time import, so i guess i run subgit configure SVN_REPO repo.git then edit repo.git/subgit/config and add gitCommitMessage to the svn section. But what are the variables/placeholders i can use? 回答1: Here are the

subgit import and multiple branches directories

蓝咒 提交于 2019-12-12 19:33:42
问题 I'm trying to do an import using subgit. Just a one-time migration. My SVN structure contains: branches branch1 features branch2 hotfixes branch3 I'd like to convert all three to branches in git. I've tried: proj=myproject; subgit import --svn-url <correctPath>/$proj --authors-file ~/authors --branches branches --branches branches/features --branches hotfixes --tags tags $i This seems to just use "hotfixes" as the only place to import from. (I'm using SubGit version 2.0.2 ('Patrick') build

SubGit error when svn users commit

ぐ巨炮叔叔 提交于 2019-12-11 20:35:57
问题 I just installed SubGit and test it. When one of svn user commited a file, he got the following error message: Commit failed (details follow): 'pre-commit' hook failed with error output: SubGit ERROR REPORT (SubGit version 1.0.2 ('Miai') build #1764): You've received this message because SubGit (http://subgit.com/) is installed in your repository and an error that needs to be dealt with has occured in SubGit translation engine. UNRECOVERABLE ERROR: svn: Cannot rename file 'F:\svn\testsubgit