git-svn

Does SmartGit support git-svn?

人走茶凉 提交于 2019-12-12 20:22:36
问题 If SmartGit even supports git-svn, how would I go about using it? Would I clone my svn repository first then somehow link it to my git repository or vise versa? I found git-svn mentioned very briefly in the SmartGit documentation but it doesn't describe how to use it in the actual client. 回答1: Following tutorial explains how the SVN integration of SmartGit works: https://www.syntevo.com/doc/display/SG/SmartGit+as+SVN+Bridge 来源: https://stackoverflow.com/questions/16128118/does-smartgit

git-svn rebase “File name too long”

天涯浪子 提交于 2019-12-12 19:51:24
问题 I'm running $ git svn rebase After couple of minutes it's finished fetching and started rebasing. And I have got next error message: First, rewinding head to replay your work on top of it... error: cannot stat '$73_chars_4_deep_levels_path_with_spaces/$180_chars_file_name_looks_cutted_with_spaces_too': File name too long error: cannot stat '$73_chars_4_deep_levels_path_with_spaces/$180_chars_file_name_looks_cutted_with_spaces_too': File name too long error: cannot stat '$73_chars_4_deep

How to use git-svn properly, svn-ers checkout svnrepo and git-ers clone gitrepo, committing carelessly

无人久伴 提交于 2019-12-12 18:42:03
问题 In my company we use SVN, but want to seamlessly switch to GIT in future. That's why I started to learn git-svn, which promises to serve as a frontend for svn repository. I tried to use it with following setup: SVNREPO - the master svn repository GITREPO - git-svn clone of SVNREPO REPO1,REPO2,... - git clones of GITREPO representing git-ers The requirements are: [ManyGitUsers] many giters can clone from/push to GITREPO [ManySvnUsers] many svners commit to SVNREPO [SyncHook] synchronization

How can I tell what svn version my git-svn repository is based on?

喜欢而已 提交于 2019-12-12 16:34:13
问题 I've cloned an SVN repository into git using git-svn, but I'm having trouble rebasing and I thought to work around it by using svn to generate a patch between the old SVN revision I'd used to clone my git repo in the first place and the current version. That way I could just apply the patch and call it rebased. Any idea how I can find the SVN revision number my current git-svn clone is based on? 回答1: If you do git log you should be able to see a history of all commits in your repository. The

git svn clone: branches moved from repo/ to repo/branches/ and “Malformed XML: no element found”

北战南征 提交于 2019-12-12 14:06:24
问题 With git 2.8.2 and svn 1.9.4 under Cygwin, when cloning our repository with git svn clone , I hit a brick-wall at a certain commit: r3640 = eb94... (refs/remotes/svn/trunk) Found possible branch point: https://.../repo/<branchname> => https://.../repo/branches/<branchname>, 3641 Initializing parent: refs/remotes/svn/<branchname>@3641 Error from SVN, (175009): Malformed network data: The XML response contains invalid XML: Malformed XML: no element found Observation #1: When cloning with -r3600

Problem cloning a single SVN Branch via git svn

余生颓废 提交于 2019-12-12 14:06:10
问题 I have tried the following command on my SVN Repository to clone only a single branch via git. git svn clone http://svn.supose.org/supose/branches/B_0.7.1 but got the the following error message: Initialized empty Git repository in /Users/km/workspace-supose/git/B_0.7.1/.git/ W: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: '/supose/!svn/bc/100/branches/B_0.7.1' path not found W: Do not be alarmed at the above message git-svn is just searching

git-svn: automatically importing/creating svn revisions as git tags

三世轮回 提交于 2019-12-12 13:09:52
问题 I am using git-svn to work with a svn repository. The git master branch is mirroring the svn trunk branch (the only svn branch in use), i.e. there is a one to one relation between elements on the master branch and the trunk branch. I want to have git tags that corresponds to svn revisions, so that I can do things like for instance git diff r123 workbranch to see what I have done compared to svn revision 123. The revisions are not tagged when I do git svn rebase , so I have created the

Exclude files from git svn clone

穿精又带淫゛_ 提交于 2019-12-12 13:01:21
问题 I'm migrating an SVN repo to Git and I have 7000+ binary files I would like to exclude from being imported and becoming part of the Git history from the start, as opposed to cleaning them up after (ref this question). The location of the files doesn't follow a very regular pattern so I'd have to supply a rather long list of locations to git, and I have ~8000 commits to take into consideration. If my goal is to avoid bloating the repo with unnecessary files, what is the best approach to do

git merge against an arbitrary base revision (git-svn)

与世无争的帅哥 提交于 2019-12-12 11:03:15
问题 I'm using git-svn for offline development against my company's Subversion repository, which is the project's repository of record. To enable management visibility I'm required to maintain my feature branches in SVN. Sometimes I need to merge changes from our trunk to a feature branch multiple times over the lifetime of the branch. Since I'm required to keep the branch up-to-date in SVN I have to merge; I can't rebase commits once they're pushed to SVN. Further, git svn dcommit removes the

Git email hook to include commit message and changed files

冷暖自知 提交于 2019-12-12 10:46:13
问题 I set up the email hook for git in heroku. However, all i get is the message that something is pushed - i need both the commit message and the modified files. #what i now get in the email: noreply@heroku.com to me, hermantamas xxx@gmail.com deployed app #what i need: noreply@heroku.com to me, hermantamas xxx@gmail.com deployed app: "home page is now working" Changed: - index.html - javascript.js 回答1: That would mean modifying the Heorku email hook directly to add some of those git log options