You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Brazhnik <br...@gmail.com> on 2009/04/17 20:33:44 UTC

svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Hi.

I found a regression of Subversion 1.6.x under MS Windows.
'svn commit' damages working copy if root of working copy is a root of
drive (e.g. Z:\)

OS: MS Windows XP Pro eng sp3 or Vista Home Premium rus sp1
Subversion: svn, version 1.6.1 (r37116) compiled Apr 10 2009, 19:06:38
 from http://subversion.tigris.org/files/documents/15/45600/svn-win32-1.6.1.zip

Steps for reproduce:

C:\drive-wc-test>svnadmin create c:\testrepo

C:\drive-wc-test>mkdir wc

C:\drive-wc-test>subst z: wc

C:\drive-wc-test>pushd z:\

z:\>svn checkout file:///c:/testrepo .
Checked out revision 0.

z:\>echo file  1>file

z:\>svn add file
A         file

z:\>svn commit . -m "msg"
Adding         z://file
Transmitting file data .svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory 'z:'
svn: Log entry missing 'name' attribute (entry 'rm' for directory 'z:')

z:\>svn up
svn: Working copy '.' locked
svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

z:\>svn cleanup
svn: In directory '.'
svn: Log entry missing 'name' attribute (entry 'rm' for directory '.')

z:\>popd


If repository access is 'svn://' result is the same.
I run svn 1.6.0 - works incorrect.

With svn 1.5.6 commit works correct.

--
Andrey

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1774472

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Brazhnik!

> I found a regression of Subversion 1.6.x under MS Windows.
> 'svn commit' damages working copy if root of working copy is a root of
> drive (e.g. Z:\)

Certainly... let me check this same thing with HTTP.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 18.04.2009, <1:01>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1774895

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Stephen Connolly <st...@gmail.com>.
This is top posting.... now scroll down to the bottom of the mail....

2009/7/15 Anthony Bellissimo <tw...@gmail.com>

> Hi Andrey,
>
> By top-posting, do you mean CCing users? I'm sorry if that wasn't
> appropriate, but I was also trying to make a resolution more search-
> friendly. Google got me to your original question and the reproduction
> case, but then silence.
>
> As for moving the WC down a directory, it's unfortunately too late by
> that point. The damage seems to be done when the log is written during
> the commit, so even running svn cleanup from the REAL WC directory
> (rather than the subst-ed drive letter) dies with the same error.
>
> -- Anthony
>

This is bottom posting.... This list prefers bottom posting as the
conversation reads more naturally

-Stephen

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371392

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Anthony Bellissimo <tw...@gmail.com>.
Hi Andrey,

By top-posting, do you mean CCing users? I'm sorry if that wasn't  
appropriate, but I was also trying to make a resolution more search- 
friendly. Google got me to your original question and the reproduction  
case, but then silence.

As for moving the WC down a directory, it's unfortunately too late by  
that point. The damage seems to be done when the log is written during  
the commit, so even running svn cleanup from the REAL WC directory  
(rather than the subst-ed drive letter) dies with the same error.

-- Anthony

On Jul 14, 2009, at 6:38 PM, Andrey Repin <an...@freemail.ru> wrote:

> Greetings, Anthony Bellissimo!
>
>> If I've hosed my working copy by doing this, is there a graceful way
>> to clean it up? 'svn cleanup' quits with the same message; the only
>> way I've found to get it unstuck is to clear the "log" files from the
>> .svn folder in the root directory, svn up, and hope for the best.
>
> You can simply move whole WC one directory level down and hope for  
> normal
> operation.
> And PLEASE stop top-posting.
>
>
> --
> WBR,
> Andrey Repin (anrdaemon@freemail.ru) 15.07.2009, <2:37>
>
> Sorry for my terrible english...
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371364

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Anthony Bellissimo!

> If I've hosed my working copy by doing this, is there a graceful way
> to clean it up? 'svn cleanup' quits with the same message; the only
> way I've found to get it unstuck is to clear the "log" files from the
> .svn folder in the root directory, svn up, and hope for the best.

You can simply move whole WC one directory level down and hope for normal
operation.
And PLEASE stop top-posting.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 15.07.2009, <2:37>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371352

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Anthony Bellissimo <tw...@gmail.com>.
Ah, I didn't see that in the issue tracker. Looks like the same
root-of-drive issue, but in my case there was no abort, use of a
network share, or partial commit. What are the odds of the 1.7.x fix
being backported to 1.6.x? We ran into this during a dry run of moving
our source control to Subversion from another SCM system, but given
the way our developers work on their code this is a nuisance. At least
there's a workaround (commit from the "real" path, not the subst-ed
drive letter).

If I've hosed my working copy by doing this, is there a graceful way
to clean it up? 'svn cleanup' quits with the same message; the only
way I've found to get it unstuck is to clear the "log" files from the
.svn folder in the root directory, svn up, and hope for the best.

-- Anthony

On Tue, Jul 14, 2009 at 10:13 AM, Bert Huijben<be...@qqmail.nl> wrote:
>
>
>> -----Original Message-----
>> From: Anthony Bellissimo [mailto:twon33@gmail.com]
>> Sent: maandag 13 juli 2009 22:09
>> To: users@subversion.tigris.org
>> Subject: RE: Re: svn 1.6.x regression: svn commit damages 'root of
>> drive working copies' under windows
>>
>> I get the same thing here, with version 1.6.3 (r38063) over https.
>>
>> K:\>notepad foo.txt
>>
>> K:\>svn add foo.txt
>> A         foo.txt
>>
>> K:\>svn ci -m ""
>> Adding         k://foo.txt
>> Transmitting file data .svn: Commit succeeded, but other errors follow:
>> svn: Error bumping revisions post-commit (details follow):
>> svn: In directory 'K:'
>> svn: Log entry missing 'name' attribute (entry 'rm' for directory 'K:')
>
> See also issue 3346:
> http://subversion.tigris.org/issues/show_bug.cgi?id=3346
>
>        Bert
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371240

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Bert Huijben <rh...@sharpsvn.net>.
> -----Original Message-----
> From: Anthony Bellissimo [mailto:twon33@gmail.com]
> Sent: maandag 13 juli 2009 22:09
> To: users@subversion.tigris.org
> Subject: RE: Re: svn 1.6.x regression: svn commit damages 'root of
> drive working copies' under windows
> 
> I get the same thing here, with version 1.6.3 (r38063) over https.
> 
> K:\>notepad foo.txt
> 
> K:\>svn add foo.txt
> A         foo.txt
> 
> K:\>svn ci -m ""
> Adding         k://foo.txt
> Transmitting file data .svn: Commit succeeded, but other errors follow:
> svn: Error bumping revisions post-commit (details follow):
> svn: In directory 'K:'
> svn: Log entry missing 'name' attribute (entry 'rm' for directory 'K:')

See also issue 3346:
http://subversion.tigris.org/issues/show_bug.cgi?id=3346

	Bert

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371237

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Anthony Bellissimo <tw...@gmail.com>.
I get the same thing here, with version 1.6.3 (r38063) over https.

K:\>notepad foo.txt

K:\>svn add foo.txt
A         foo.txt

K:\>svn ci -m ""
Adding         k://foo.txt
Transmitting file data .svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory 'K:'
svn: Log entry missing 'name' attribute (entry 'rm' for directory 'K:')

K:\>

> Greetings, Brazhnik!
> 
> svn, version 1.6.1 (r37116)
>    compiled Apr 10 2009, 19:06:38
> 
> Both client and server.
> 
> > z:\>echo file  1>file
> 
> > z:\>svn add file
> > A         file
> 
> > z:\>svn commit . -m "msg"
> > Adding         z://file
> > Transmitting file data .svn: Commit succeeded, but other errors follow:
> > svn: Error bumping revisions post-commit (details follow):
> > svn: In directory 'z:'
> > svn: Log entry missing 'name' attribute (entry 'rm' for directory 'z:')
> 
> Exactly the same
> 
> svn: Commit succeeded, but other errors follow:
> svn: Error bumping revisions post-commit (details follow):
> svn: In directory 'Z:'
> svn: Log entry missing 'name' attribute (entry 'rm' for directory 'Z:')
> 
> 
> --
> WBR,
>  Andrey Repin (anrdaemon@freemail.ru) 18.04.2009, <1:21>
> 
> Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2371100

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: svn 1.6.x regression: svn commit damages 'root of drive working copies' under windows

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Brazhnik!

svn, version 1.6.1 (r37116)
   compiled Apr 10 2009, 19:06:38

Both client and server.

> z:\>echo file  1>file

> z:\>svn add file
> A         file

> z:\>svn commit . -m "msg"
> Adding         z://file
> Transmitting file data .svn: Commit succeeded, but other errors follow:
> svn: Error bumping revisions post-commit (details follow):
> svn: In directory 'z:'
> svn: Log entry missing 'name' attribute (entry 'rm' for directory 'z:')

Exactly the same

svn: Commit succeeded, but other errors follow:
svn: Error bumping revisions post-commit (details follow):
svn: In directory 'Z:'
svn: Log entry missing 'name' attribute (entry 'rm' for directory 'Z:')


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 18.04.2009, <1:21>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1775187

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].