"<<<<<<< .mine". Illegal characters in path.

Hi,

how do you solve this error message:
Error      49      Files has invalid value "<<<<<<< .mine". Illegal characters in path.

I'm using Visual Studio 2005 and TortoiseSVN
LVL 6
xRalfAsked:
Who is Participating?
 
trunghieubkitCommented:
0
 
GO-87Commented:
Could you give some more information? Perhaps include the section of code you're using?
0
 
oxyooCommented:
If you are getting "<<<<<<< .mine". in your code, that usually means that
you have a conflict on that file that is not resolved.

Try this:
1. Right click the file  -> Open T.SVN submeny -> Edit conflict.
   (Now edit conflicts and save the file)

2. Right click the file again -> Open T.SVN submeny -> choose Resolved..


There is a video tutorial here on how to solve conflicts..
http://www.dimecasts.net/Casts/ByTag/SVN


Good Luck!

0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
xRalfAuthor Commented:
I can't give more information. Visual Studio doesn't offer more information, only this error description.

Conflicts are resolved with TortoiseSVN.
0
 
libin_vCommented:
Search for "<<<<<" in the whole solution
0
 
trunghieubkitCommented:
Just Revert it by SVN menu (Recommend you should have a backup version of the file before)

it'll come back to last version

then change your code manually to what you want

then Update again

0
 
xRalfAuthor Commented:
to libin_v

There wasn't "<<<<<" in the whole solution

to trunghieubkit

I have revert

I wanted nothing to change, so I did nothing

I updated

and the problem is solved...

But why this happends? I want to understand a little more this error, because it happends quite often in our team. (I solved it as usual with backup, checkout and manually copy-paste my code to new version)...

Does anybody has some more insight in this error?
0
 
trunghieubkitCommented:
I've had a mistake,
Anyway, here's my experience:

You should Update your source before editing on it (very important)

The error with "<<<<<" is a big problem of SVN, it's happened when you have changed a file and your coworkers have done too, So SVN just merges your code and your coworker's code together, and it's marked by   "<<<<< .mine" to distinguish between yours and another one's

If you have the same problem

First: Copy yours as a backup version

Then: Edit what you want on it (don't forget to told your coworkers not Commit the file you have been editing)

Last: Commit it again


0
 
trungnt8Commented:
This happens when you update from SVN Server. Tortoise tries to merge your local changes with the the working version in SVN Server and fail. Unfortunately, Tortoise doesn't remove the marking character <<<<<<< .mine in these files.
0
 
xRalfAuthor Commented:
So, that's a bug in SVN? (incompatible with Visual Studio environment)?

>> Tortoise doesn't remove the marking character <<<<<<< .mine in these files

I can't find it in the files
0
 
trungnt8Commented:
That's possibly a bug of Tortoise.
Error      49      Files has invalid value "<<<<<<< .mine". Illegal characters in path. --> Does VS specify which files ?
0
 
xRalfAuthor Commented:
No, VS does not specify it.
0
 
xRalfAuthor Commented:
to trunqn8

How do you know that it's a bug of Tortoise?
0
 
trunghieubkitCommented:
It's not a bug of SVN,
You may should read more at
http://tortoisesvn.tigris.org/faq.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.