From: Eric Wong <normalperson@yhbt.net>
To: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Cc: git@vger.kernel.org
Subject: Re: git svn dcommit not checking if up-to-date?
Date: Fri, 31 Aug 2007 15:18:14 -0700 [thread overview]
Message-ID: <20070831221814.GB31033@untitled> (raw)
In-Reply-To: <Pine.LNX.4.64.0708312200480.28586@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
> Hi Eric,
>
> harningt just asked about known issues of git-svn on IRC, and I remembered
> that I had an issue: Accidentally, I forgot to "git svn fetch" before "git
> svn dcommit"ing, and unfortunately, a colleague had just checked in a
> change, which got undone by my dcommit.
>
> Is this a known issue, has it been fixed, am I a bad pilot?
>
> Ciao,
> Dscho
>
> P.S.: harningt promised to get his hands dirty, but I just realised that
> the issue could be fixed since long ago...
I believe this was fixed a while back in commit
45bf473a7bc2c40c8aea3d34a0eab7a41e77a8ff
(Thu Nov 9 01:19:37 2006 -0800).
I just tested this on a live server, and it seems to be correctly
erroring out if the local files are not up-to-date.
The only currently known issues that could break commits is from using
merge or pull from another svn branch and trying to dcommit the result
(see CAVEATS section in the manpage). I hope to fix this soon (hoping
somebody beats me to it, of course)
Otherwise there's still open bugs on svn:// fetch connections dying and
permissions issues with some DAV repos, neither of which can cause data
corruption on either side.
--
Eric Wong
next prev parent reply other threads:[~2007-08-31 22:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-31 21:04 git svn dcommit not checking if up-to-date? Johannes Schindelin
2007-08-31 21:46 ` David Watson
2007-08-31 22:18 ` Eric Wong [this message]
2007-08-31 23:17 ` Johannes Schindelin
2007-08-31 23:48 ` David Watson
2007-09-01 0:25 ` [PATCH] Test for git-svn dcommit clobbering changes David Watson
2007-09-01 1:16 ` [PATCH] git-svn: fix dcommit clobbering upstream when committing multiple changes Eric Wong
2007-09-01 1:32 ` Johannes Schindelin
2007-09-01 5:43 ` Karl Hasselström
2007-09-01 9:33 ` Eric Wong
2007-09-01 10:24 ` Karl Hasselström
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070831221814.GB31033@untitled \
--to=normalperson@yhbt.net \
--cc=Johannes.Schindelin@gmx.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox