You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Craig Lawson <cr...@dslextreme.com> on 2006/03/12 08:47:24 UTC

commit failed - Invalid change ordering: new node revision ID without delete

Hi subversion users,
  I'm new to the group and to svn. I'm using 1.2.3-r2 on gentoo to
manage a web project, and just recently moved a bunch of files and
directories around. When I commit, I get:

$ svn commit -m "big change"
(Adding, Deleting, Sending, etc.)
Transmitting file data ............................svn: Commit failed
(details follow):
svn: Invalid change ordering: new node revision ID without delete


Just to be sure I hadn't messed things up with too much fiddling, I
started from a fresh copy and repeated my svn commands, synchronizing
file and directory contents with the failed working copy but keeping the
.svn content independent. Same result.

Is this an svn bug? Sure looks like a bug. svn appears to be telling me
that it cannot construct a valid transaction even though I used valid
svn commands. What to do next?

Thanks,
Craig.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: commit failed - Invalid change ordering: new node revision ID without delete

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 3/12/2006 5:22 PM, Craig Lawson wrote:
> Thank you for your replies.
> 
> I tried specifying the current directory with ".", but received the same
> result. Also, my reading of the subversion manual is that the current
> directory is the default.

Yes, the . is optional in most commands.

> The FSFS bug link seems a lot like mine, except I don't have any
> branches. I used only svn move, add, and remove of files and
> directories, modified some files, and updated before commit. I am using
> FSFS only.
> 
> But I still can't commit. How do I get out of this jam?

I'd do the following:

Back up the bad copy somewhere, so that if you make a mistake and change 
it while doing the repairs you can start again.  Then check out a new 
working copy.  Try to do all the moves and removes on the new copy and 
commit just those changes.  Then copy everything except the .svn 
directories from the bad working copy over, add the new files, and do 
another commit.  Finally, throw away the bad working copy (but keep the 
backup); it'll likely be a pain to update it, because of all the file 
renames.  (Subversion won't check out a new file on top of one with the 
same name.)

I think the first commit (the one with the moves and removes) is likely 
the one that will be troublesome; if you succeed with it the rest should 
go smoothly.

If you have trouble with the moves and removes, you could try doing all 
the moves and removes in the repository, and check out a working copy 
after those.

By the way, you said you were new at Subversion, so I want to point out 
that this sort of problem isn't common.  I've occasionally run into 
trouble when doing branching and merging, but never doing the sorts of 
things you were doing -- and I'm pretty sure all the problems I saw were 
my own fault.

Duncan Murdoch
> 
> Thanks,
> Craig.
> 
> 
> 
> Res Pons wrote:
>> Your file name argument is missing. Either specify a filename or a dot
>> '.' for the entire directory
> 
> 
> Duncan Murdoch wrote:
>> On 3/12/2006 3:47 AM, Craig Lawson wrote:
>>> Hi subversion users,
>>>   I'm new to the group and to svn. I'm using 1.2.3-r2 on gentoo to
>>> manage a web project, and just recently moved a bunch of files and
>>> directories around. When I commit, I get:
>>>
>>> $ svn commit -m "big change"
>>> (Adding, Deleting, Sending, etc.)
>>> Transmitting file data ............................svn: Commit failed
>>> (details follow):
>>> svn: Invalid change ordering: new node revision ID without delete
>>>
>>>
>>> Just to be sure I hadn't messed things up with too much fiddling, I
>>> started from a fresh copy and repeated my svn commands, synchronizing
>>> file and directory contents with the failed working copy but keeping the
>>> .svn content independent. Same result.
>>>
>>> Is this an svn bug? Sure looks like a bug. svn appears to be telling me
>>> that it cannot construct a valid transaction even though I used valid
>>> svn commands. What to do next?
>> I think it looks like the bug discussed here:
>>
>> http://www.nabble.com/FSFS-bug-with-mixed-revision-commit-t15867.html
>>
>> In that thread it was triggered by doing a copy from the working copy
>> to a new branch, and the workaround was to do the copy in the
>> repository, and then switch the working copy.  I.e. instead of
>>
>> svn cp . URL:newbranch
>>
>> do
>>
>> svn cp URL:trunk URL:newbranch -m"create branch"
>> svn switch URL:newbranch
>> svn commit -m"big changes to new branch"
>>
>> (where URL:trunk and URL:newbranch aren't to be taken literally, of
>> course:  put in the actual URL of your original copy).
>>
>> At least I think that's a correct summary....
>>
>> Duncan Murdoch
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: commit failed - Invalid change ordering: new node revision ID without delete

Posted by Craig Lawson <cr...@dslextreme.com>.
Thank you for your replies.

I tried specifying the current directory with ".", but received the same
result. Also, my reading of the subversion manual is that the current
directory is the default.

The FSFS bug link seems a lot like mine, except I don't have any
branches. I used only svn move, add, and remove of files and
directories, modified some files, and updated before commit. I am using
FSFS only.

But I still can't commit. How do I get out of this jam?

Thanks,
Craig.



Res Pons wrote:
> Your file name argument is missing. Either specify a filename or a dot
> '.' for the entire directory


Duncan Murdoch wrote:
> On 3/12/2006 3:47 AM, Craig Lawson wrote:
>> Hi subversion users,
>>   I'm new to the group and to svn. I'm using 1.2.3-r2 on gentoo to
>> manage a web project, and just recently moved a bunch of files and
>> directories around. When I commit, I get:
>>
>> $ svn commit -m "big change"
>> (Adding, Deleting, Sending, etc.)
>> Transmitting file data ............................svn: Commit failed
>> (details follow):
>> svn: Invalid change ordering: new node revision ID without delete
>>
>>
>> Just to be sure I hadn't messed things up with too much fiddling, I
>> started from a fresh copy and repeated my svn commands, synchronizing
>> file and directory contents with the failed working copy but keeping the
>> .svn content independent. Same result.
>>
>> Is this an svn bug? Sure looks like a bug. svn appears to be telling me
>> that it cannot construct a valid transaction even though I used valid
>> svn commands. What to do next?
>
> I think it looks like the bug discussed here:
>
> http://www.nabble.com/FSFS-bug-with-mixed-revision-commit-t15867.html
>
> In that thread it was triggered by doing a copy from the working copy
> to a new branch, and the workaround was to do the copy in the
> repository, and then switch the working copy.  I.e. instead of
>
> svn cp . URL:newbranch
>
> do
>
> svn cp URL:trunk URL:newbranch -m"create branch"
> svn switch URL:newbranch
> svn commit -m"big changes to new branch"
>
> (where URL:trunk and URL:newbranch aren't to be taken literally, of
> course:  put in the actual URL of your original copy).
>
> At least I think that's a correct summary....
>
> Duncan Murdoch
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: commit failed - Invalid change ordering: new node revision ID without delete

Posted by Duncan Murdoch <mu...@stats.uwo.ca>.
On 3/12/2006 3:47 AM, Craig Lawson wrote:
> Hi subversion users,
>   I'm new to the group and to svn. I'm using 1.2.3-r2 on gentoo to
> manage a web project, and just recently moved a bunch of files and
> directories around. When I commit, I get:
> 
> $ svn commit -m "big change"
> (Adding, Deleting, Sending, etc.)
> Transmitting file data ............................svn: Commit failed
> (details follow):
> svn: Invalid change ordering: new node revision ID without delete
> 
> 
> Just to be sure I hadn't messed things up with too much fiddling, I
> started from a fresh copy and repeated my svn commands, synchronizing
> file and directory contents with the failed working copy but keeping the
> .svn content independent. Same result.
> 
> Is this an svn bug? Sure looks like a bug. svn appears to be telling me
> that it cannot construct a valid transaction even though I used valid
> svn commands. What to do next?

I think it looks like the bug discussed here:

http://www.nabble.com/FSFS-bug-with-mixed-revision-commit-t15867.html

In that thread it was triggered by doing a copy from the working copy to 
a new branch, and the workaround was to do the copy in the repository, 
and then switch the working copy.  I.e. instead of

svn cp . URL:newbranch

do

svn cp URL:trunk URL:newbranch -m"create branch"
svn switch URL:newbranch
svn commit -m"big changes to new branch"

(where URL:trunk and URL:newbranch aren't to be taken literally, of 
course:  put in the actual URL of your original copy).

At least I think that's a correct summary....

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: commit failed - Invalid change ordering: new node revision ID without delete

Posted by Res Pons <po...@hotmail.com>.
Your file name argument is missing. Either specify a filename or a dot '.' 
for the entire directory

----Original Message Follows----
From: Craig Lawson <cr...@dslextreme.com>
To: users@subversion.tigris.org
Subject: commit failed - Invalid change ordering: new node revision ID 
without delete
Date: Sun, 12 Mar 2006 00:47:24 -0800
MIME-Version: 1.0
Received: from tigris.org ([64.125.133.100]) by 
bay0-mc11-f3.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.211); Sun, 12 
Mar 2006 00:47:32 -0800
Received: (qmail 17459 invoked by uid 5000); 12 Mar 2006 08:47:26 -0000
Received: (qmail 17440 invoked from network); 12 Mar 2006 08:47:24 -0000
X-Message-Info: JGTYoYF78jGirFeIAjDGNDizxKzf5ln385JWGZBbznw=
Mailing-List: contact users-help@subversion.tigris.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
list-help: <ma...@subversion.tigris.org>
list-unsubscribe: <ma...@subversion.tigris.org>
list-post: <ma...@subversion.tigris.org>
Delivered-To: mailing list users@subversion.tigris.org
User-Agent: Mail/News 1.5 (X11/20060305)
Return-Path: users-return-46316-pons32=hotmail.com@subversion.tigris.org
X-OriginalArrivalTime: 12 Mar 2006 08:47:32.0300 (UTC) 
FILETIME=[9A1170C0:01C645B1]

Hi subversion users,
   I'm new to the group and to svn. I'm using 1.2.3-r2 on gentoo to
manage a web project, and just recently moved a bunch of files and
directories around. When I commit, I get:

$ svn commit -m "big change"
(Adding, Deleting, Sending, etc.)
Transmitting file data ............................svn: Commit failed
(details follow):
svn: Invalid change ordering: new node revision ID without delete


Just to be sure I hadn't messed things up with too much fiddling, I
started from a fresh copy and repeated my svn commands, synchronizing
file and directory contents with the failed working copy but keeping the
.svn content independent. Same result.

Is this an svn bug? Sure looks like a bug. svn appears to be telling me
that it cannot construct a valid transaction even though I used valid
svn commands. What to do next?

Thanks,
Craig.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org