Questions tagged [dcommit]

dcommit is the command used by git-svn to commit changes to a subversion repository.

dcommit is part of , a set of commands to connect between a subversion repository and a Git branch. It's used to turn each commit into an SVN revision.

According to this document, the name dcommit stands for "delta commit":

The command to use is git svn dcommit. The "d" stands for delta (there used to be a git svn commit command that has since been renamed to git svn set-tree because its behaviour was considered a little 'surprising' for first-time users).

See also:

30 questions
1
vote
1 answer

How to clone svn repo with git svn and be able to commit to both git and svn?

I have the following scenario: I am porting a big repo from which some catalogs I would like to separate into git repositories with independent/separate history, e.g.: git svn clone --trunk=https://svne1.XXX.XXX.com/XXXX/svnroot/trunk/…
Patryk
  • 22,602
  • 44
  • 128
  • 244
1
vote
1 answer

Git with synchronized SVN backup

I've been working for some time with SVN and I'm now in the process of migrating to GIT, for rather obvious reasons. I can already create the git repository out of the svn one. As I'm not very confident with GIT, before to effectively choose it as…
Riccardo Manfrin
  • 653
  • 1
  • 7
  • 15
1
vote
2 answers

how can I create an archive before git svn dcommit?

I'm trying to create a zip archive of my project when I push to the svn server. My old setup would use a post-receive hook on the remote git repo to do this. However, I'm now using svn and I don't own the svn server so I can't put anything over…
spinlock
  • 3,737
  • 4
  • 35
  • 46
1
vote
1 answer

When git svn dcommit can be used?

I want to learn how to use git with svn repository. I follow this manual: http://git-scm.com/book/en/Git-and-Other-Systems-Git-and-Subversion I make some changes in my file. Some of them staged, some of them not: # On branch master # Changes to be…
klm123
  • 12,105
  • 14
  • 57
  • 95
1
vote
1 answer

git svn dcommit on local branch re-creates local master

Background: Our team needs to connect to an svn server and work on a particular branch (not the svn trunk). On top, we need to also get the trunk and merge between them. I have set up a local git repository connected to our branch…
utnapistim
  • 26,809
  • 3
  • 46
  • 82
1
vote
1 answer

Any way to default git svn dcommit to fail if code is out of date?

I like how (normal) git won't let me push if I haven't rebased with the latest code. However with git svn, when I do git svn dcommit it automatically rebases (i.e. git svn rebase) and then commits. Is there a way I can have it throw up an error…
Aaron Silverman
  • 22,070
  • 21
  • 83
  • 103
0
votes
1 answer

git svn dcommit: Chokes on .DS_Store

Yes, I know I should have had .DS_Store in my .gitignore!! I messed up :( I wasn't paying attention and .DS_Store crept in... But now, for whatever reason, I get the following when doing a dcommit: % git svn dcommit Committing to…
Alfred Fazio
  • 956
  • 7
  • 10
0
votes
1 answer

Git and SVN via git svn branch merging. Which procedure is the best?

I'am using git svn to sync sources between git and SVN. I like to work with branches and that's the problem. I'm creating a branch with: git svn branch mybranch After that i check the branch out. After i modified the sources i'm ready to merge…
extreme001
  • 303
  • 1
  • 5
  • 16
0
votes
3 answers

Git svn commit with id

I am working to setup a local git that bases it's repository on a SVN store. All looks ok but how do I link a work item id with a comment to svn store when I run "git svn dcommit"?
batta
  • 355
  • 1
  • 11
0
votes
1 answer

What is wrong in my syntax?(batch file to migrate from git to svn)

I need to migrate some git repositories to subversion. Some of the projects have a lot of history which i want to preserve. Also the author names have to stay the same. After tinkering around and searching for other ways to achieve this, i still…
Master Azazel
  • 612
  • 1
  • 12
  • 32
0
votes
1 answer

git: correct way to merge/rebase with respect to svn dcommit

I have the following situation (mostly because I didn't really thought it through in the beginning -- or more exactly, I thought it shouldn't be a problem the way I did this but now I am stumbled): ... --- A --- B1 --- ... --- Bn ... ---…
Albert
  • 65,406
  • 61
  • 242
  • 386
0
votes
1 answer

General workflow for git-svn bridge for 2 teams

Lately I read many things about GIT-SVN bridge, tried it myself but somehow I fail when things get rough. The environment We are 2 teams: once uses SVN, the other is rebel and uses GIT. In order to sync, I created a bridge between the 2 repos. The…
LostCoder
  • 51
  • 1
  • 1
  • 5
0
votes
1 answer

Prevent dcommit from automatically rebasing if there are new commits in the SVN repository

When running git svn dcommit, git-svn will automatically do the equivalent of git svn rebase if not all commits present in the SVN repository have integrated into the branch being committed. Is it possible to disable this behavior? I would like git…
Feuermurmel
  • 9,490
  • 10
  • 60
  • 90
0
votes
1 answer

Git svn rebase: file out of date - trailing whitespace

I have an issue while using git svn. I have a repor which is used by people mostly from Windows but I use Linux. I have performed changes on this repo but today I got this after git svn dcommit: Could not chdir to home directory…
Patryk
  • 22,602
  • 44
  • 128
  • 244
0
votes
1 answer

git svn dcommit fail

when I do git svn dcommit, it report error like below: git svn dcommit Committing to http://192.168.33.203/svn/repos/mt6577/platform/branches/vendor-ALPS.ICS2.6577.SP.V1_HUAQIN77_CU_ICS ... summit merge conflict: file or directory…
yao
  • 1,993
  • 2
  • 12
  • 10
1
2