SVN/Tortoise: Log entry missing ‘name’ attribute

BangingHead

Tonight, I’ve been battling an issue with a new Subversion repository, which I couldn’t seem to find a solution for using the world’s favourite search engine. I did, however, manage to find my own semi-solution so thought I’d share. I’m using SVN (1.6.13)/Tortoise (1.6.11) under Windows 7 Ultimate 64-bit and this occurred using a previous version of Tortoise too.

The problem:

I create a new repository, check it out to a folder, then subst a drive to that folder. This is a technique I’m using with two other repositories on my machine without problem but in this instance, whenever I right-click on the subst drive and commit using Tortoise, I get this error:

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

I also tried this under the command-line client and received the same error so technically I believe the issue is to do with SVN itself. Please note that this issue doesn’t occur if you try to commit files individually, it seems to be linked to commiting from the subst’d root, i.e ‘X:’.

The solution:

My other two repositories, subst’d to drives, commit without problem using the above technique – so what’s the difference? As far as I can tell, it’s files in the root. On my new repository, if I try to commit changed files in the root by clicking on the subst’d drive I get the above error. If I move these files to sub-folders and commit, no errors! So there you go, weird, but true!

Posted in Coding | Tagged , , | Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

> Talk to me!

Twitter profile for Richard Turnbullwitter:
  • Attempting to load Twitter feed..
Facebook profile for Richard Turnbull LinkedIn profile for Richard Turnbull

> Tools

Share |

> Advert