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
28
votes
6 answers

Combine local Git commits into one commit for git-svn

Currently, when I run git svn dcommit git creates a separate commit in SVN for every local commit I've made since last syncing with SVN. Is there any way for dcommit to instead combine all my recent local commits into one commit for SVN?
MacRae Linton
  • 293
  • 3
  • 6
20
votes
1 answer

What is the origin of the name 'dcommit' in git svn dcommit?

Does dcommit stand for Distributed Commit? Something else?
Pete Hodgson
  • 15,644
  • 5
  • 38
  • 46
9
votes
3 answers

How can I avoid an accidental dcommit from a local branch

Sometimes, I create local branches in git, and I'd like to get a warning message when I try to dcommit from them. How can I prevent myself from accidentally dcommiting from a local branch?
greg0ire
  • 22,714
  • 16
  • 72
  • 101
7
votes
1 answer

Is it safe to interrupt a dcommit call that appears to be hung up?

I'm using the git-svn bridge and have reshuffled a large number of files around in my repository so it's organized a bit better. I ran git svn dcommit to put the changes back at the SVN server and the process appears to be hung up. I'm getting no…
Ian C.
  • 3,783
  • 2
  • 24
  • 33
4
votes
1 answer

Using TortoiseGit, can I commit and svn dcommit in one step?

I am using TortoiseGit and am working with an svn repository using git-svn. Sometimes I want to make a one line change and dcommit it to the svn repo immediately (so the CI server will pick up the change). Currently I have to git commit, then…
Ken Liu
  • 22,503
  • 19
  • 75
  • 98
3
votes
2 answers

git-svn dcommit fails because the repository name contains a space

When attemping to git svn dcommit to a repository that has spaces in it's name, I get the following error: Committing to http://svn.kuluvalley.com/Meet the Expert/trunk ... http://svn.kuluvalley.com/Meet the Expert/trunk Filesystem has no item:…
Karl
  • 1,615
  • 1
  • 14
  • 20
3
votes
2 answers

git svn dcommit fails with "Incomplete data: Delta source ended unexpectedly"

I'm working with a remote team using an SVN repository. Mostly because of the high latency I experienced when contacting the repository, I decided to use git-svn. Everything is working great until I attempt to dcommit. I have several local commits,…
Michael Mior
  • 28,107
  • 9
  • 89
  • 113
3
votes
2 answers

Git svn fetch, rebase, reset and dcommit functions all hang with no error on one svn branch

I have a cloned repository of a large project with a somewhat non standard layout. Most of my branches work fine, but one of them doesn't. Any git svn commands just hang and never complete or give errors. I've tried git reset, etc and nothing…
James Baker
  • 67
  • 1
  • 8
2
votes
2 answers

GIT SVN dcommit after folder rename

I have not been able to find a similar answer to my question. Situation: Locally using GIT (git version 1.7.3.1.msysgit.0) Remote repository is SVN (not sure of version) Problem: Clone an SVN repo, add a folder, commit it to git and SVN, rename the…
mihai
  • 4,184
  • 3
  • 26
  • 27
2
votes
1 answer

How to ignore submodule in "git svn dcommit"?

'git svn dcommit' fails with the following error 6aa885dabeb4f7d78ffcf45f6eb720c60a3e5b50 doesn't exist in the repository at /build/git/share/perl5/Git/SVN/Editor.pm line 440 Failed to read object 6aa885dabeb4f7d78ffcf45f6eb720c60a3e5b50 at…
nibinbhaskar
  • 177
  • 1
  • 4
2
votes
0 answers

dcommit to sourceforge - how do I tweak my .git/config and authors file?

Here are the relevant parts of my config: $ cat .git/config [svn-remote "svn"] ignore-paths = ^(?:Releases|Projects|Scripts|Games|)/|^Programs/(?:Nif S\ canner|Nif Viewer|Raziel23x's Oblivion Toolset|Shader Disasm|Shader Editor)/ url…
Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361
2
votes
1 answer

`git svn dcommit` failing on a branch

I have been using git-svn to communicate with my company’s svn repo for a while now without any major headaches. Today, the “headache”-part changed dramatically: I’ve been working on master/trunk pretty exclusively, and needed to merge most (but not…
danyowdee
  • 4,658
  • 2
  • 20
  • 35
1
vote
1 answer

commit to svn unstages last commit?

Today i have encountered a weird problem when "dcommitting" my master HEAD to google code svn repository. Below an extract of what I did. I'd almost say that I do have uuid clash but i consider that to be unlikely. I'm getting more and more…
dr jerry
  • 9,768
  • 24
  • 79
  • 122
1
vote
0 answers

Is dcommiting from a rebased branch a good idea?

Consider the following layout: git | svn ----------------------------------- master | trunk local_experimental | experimental Is the following list of command something reasonable to do: git checkout…
greg0ire
  • 22,714
  • 16
  • 72
  • 101
1
vote
3 answers

git-svn pushing existing repository mapping usernames the other way

My team and I are currently working on a university project. We were given the project but it hadn't officially started, so we began work in GIT to get a head start. The coordinator of the project has now forced us to use SVN so I am attempting to…
Nick
  • 63
  • 3
1
2