[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Bug: Incomplete transction when commiting un-versioned files (adding) and file has inconsistent line ending style

From: Arne Moor <tsvn_at_moor-informatik.ch>
Date: 2006-08-05 10:43:04 CEST

Hi,

I'm currently importing a lot of files and found a problem when committing files which are un-versioned, have mixed CR and CRLF eol's and an auto property for eol=LF is set. This happens with the 1.4 nightlies of this week, didn't test with 1.3 line.

I attached a script and file with the mixed eol, to recreate the problem.

Assumptions:
- You have a folder c:\temp
- TortoiseProc.exe is installed in C:\Program Files\TortoiseSVN\bin

Steps:
- Unzip the content of the attached file to c:\temp
- Add a line
*.GRS = svn:mime-type=text/plain;svn:eol-style=LF
under [auto-props] in the subversion config file
- Start a command prompt
- execute c:\temp\recreate.bat
-> Note the error message of the svn.exe and the output of the svn status for the file c-error.GRS which contains LF and CRLF EOL's-
- Press any key
Now the TortoiseSVN commit dialog starts with the 3 files selected (remember, the svn add failed at file three).
- Cancel the dialog
- Back to the command prompt hit any key
Now the TortoiseSVN commit dialog starts again (in the second WC created) with no files selected.
- Select "Show unversioned files" and then select all 5 files.
- Hit OK.

What happens / where the bug is:
- The first three files get added, no error message is shown at file three, but 4 and 5 are not added.
- Then the content of the three files is submitted.
- This is stated as a successful transaction, but only three of five files where added.

I guess there is a error check missing in this add and commit sequence.

BTW: If you _add_ the files via the context menu it stops correctly at file number three.

Arne

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Sat Aug 5 10:43:20 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.