I’ve been looking over this post, but still can’t figure out how to solve my particular issue.
I’m using git-svn locally against a svn repository. I usually do the following:
- git svn rebase (to get the latest from the repo).
- git checkout local-dev
- git merge master (to merge this into my local branch)
- make changes, committing locally as I go
- git checkout master
- git merge local-dev
- git svn dcommit (to sent it all back upstream)
Usually works fine, until I tried to commit my latest batch from the merged master back to the repository:
$ git svn dcommit
Committing to http://mysvnrepository …
D PROJECT/Content/js/dp/jquery-1.3.2.jsMerge conflict during commit: Your file or directory ‘PROJECT/Content/js/dp’ is probably
out-of-date: resource out of date; try updating at C:\Program Files\Git/ libexec/git-core/git-svn line 508
I deleted this “/dp” folder sometime in my operations and git appeared to handle everything fine, but now it won’t send to to svn.
Any suggestions on how to fix this?
Someone was kind enough to help me in an irc channel. I ended up having to do my “git merge local-dev –squash” and that managed to help it out.