Re: Creating commits with empty changesets

2011-11-08 Thread Daniel Shahaf
Ulrich Eckhardt wrote on Tue, Nov 08, 2011 at 13:27:46 +0100: > Am 08.11.2011 12:53, schrieb Daniel Shahaf: > >Regarding empty revisions, even if Subversion prevents them in the UI > >I won't be entirely surprised to discover that a program written to our > >lower-level public APIs can create such

Re: Creating commits with empty changesets

2011-11-08 Thread Ulrich Eckhardt
Am 08.11.2011 12:53, schrieb Daniel Shahaf: Regarding empty revisions, even if Subversion prevents them in the UI I won't be entirely surprised to discover that a program written to our lower-level public APIs can create such revisions nonetheless. As you proved yourself, it can be done with th

Re: Creating commits with empty changesets

2011-11-08 Thread Daniel Shahaf
Jö Fahlke wrote on Tue, Nov 08, 2011 at 12:47:43 +0100: > Am Tue, 8. Nov 2011, 12:53:47 +0200 schrieb Daniel Shahaf: > > How does git-svn deal with a revision that contains only no-op text > > mods and no prop mods (such as the one you created in your > > COPYING's history)? > > You get a revisio

Re: Creating commits with empty changesets

2011-11-08 Thread Jö Fahlke
Am Tue, 8. Nov 2011, 12:53:47 +0200 schrieb Daniel Shahaf: > How does git-svn deal with a revision that contains only no-op text > mods and no prop mods (such as the one you created in your > COPYING's history)? You get a revision with no changes in file content compared to the previous revision

Re: Creating commits with empty changesets

2011-11-08 Thread Nico Kadel-Garcia
On Tue, Nov 8, 2011 at 4:47 AM, Jö Fahlke wrote: > Am Tue,  8. Nov 2011, 09:05:39 + schrieb Giulio Troccoli: >> I really don't understand why you can't use >> >> svn pe svn:log >> >> This doesn't change history, the commit you did doesn't change. >> You're only correcting a mistake in the mes

Re: Creating commits with empty changesets

2011-11-08 Thread Daniel Shahaf
On Tuesday, November 08, 2011 10:47 AM, "Jö Fahlke" wrote: > Am Tue, 8. Nov 2011, 09:05:39 + schrieb Giulio Troccoli: > > I really don't understand why you can't use > > > > svn pe svn:log > > * Because it creates problems for people who already updated to the faulty > commit (e.g. with

Re: Creating commits with empty changesets

2011-11-08 Thread Jö Fahlke
Am Tue, 8. Nov 2011, 09:05:39 + schrieb Giulio Troccoli: > I really don't understand why you can't use > > svn pe svn:log > > This doesn't change history, the commit you did doesn't change. > You're only correcting a mistake in the message. * Because the server does not allow it. * Becaus

Re: Creating commits with empty changesets

2011-11-08 Thread Giulio Troccoli
On 07/11/11 21:34, Jö Fahlke wrote: Hi! Is there any way to do a commit with and empty changeset, but non-empty commit message? I made a typo in a commit message. Unfortunately the typo isn't just cosmetic, since it is right in a revision number referencing another commit. Even more unfortun

Re: Creating commits with empty changesets

2011-11-07 Thread Jö Fahlke
Am Mon, 7. Nov 2011, 23:57:59 +0200 schrieb Daniel Shahaf: > Assuming you have a versioned file called 'iota', > > % cp iota iota2 > % echo >> iota > % svn ci iota > (editor pops up) > (shell out from editor) > % cp iota2 iota > % exit > (back to editor) > (enter commit message) > (exit editor)

Re: Creating commits with empty changesets

2011-11-07 Thread Daniel Shahaf
Assuming you have a versioned file called 'iota', % cp iota iota2 % echo >> iota % svn ci iota (editor pops up) (shell out from editor) % cp iota2 iota % exit (back to editor) (enter commit message) (exit editor) Jö Fahlke wrote on Mon, Nov 07, 2011 at 22:34:53 +0100: > Hi! > > Is there any way