"Save to Clipboard" including BOM marker
From: Eric Hirst <Eric.Hirst_at_magnitudesoftware.com>
Date: Wed, 15 Jul 2015 17:38:19 +0000
We've been having a problem that I initially attributed to our code review tool (Crucible/Fisheye) but which now seems to be a TSVN bug. Repro steps are very simple:
SIMPLE REPRO STEPS:
1. Compare 2 attached .patch files in TortoiseMerge and notice the BOM in the one from the clipboard.
DETAILED REPRO STEPS:
1. Check in a file similar to IPaintable.cs (attached) into your SVN repository. (I think any .cs file will work.)
2. Make an edit to one of the first couple lines (see IPaintable - revised.cs) and save the file locally
3. Open the .cs file in the TSVN commit dialog.
4. Right-click to "Create Patch"
5. (a) Save as a file (to get the attached IPaintable.cs.patch)
6. Diff the two patch files using TortoiseMerge and notice that the clipboard version includes the beginning of file byte-order marker (BOM).
7. Revert the change to the .cs file and try applying either of the 2 patches.
IMPACT:
WORKAROUND:
Thanks, Eric
Eric Hirst
[cid:image001.jpg_at_01CF6917.89960BB0]
------------------------------------------------------
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
|
This is an archived mail posted to the TortoiseSVN Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.