Solved

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

Posted on 2008-10-03
14
5,734 Views
Last Modified: 2013-12-17
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
0
Comment
Question by:xRalf
  • 5
  • 4
  • 2
  • +3
14 Comments
 
LVL 4

Expert Comment

by:GO-87
Comment Utility
Could you give some more information? Perhaps include the section of code you're using?
0
 
LVL 10

Assisted Solution

by:oxyoo
oxyoo earned 100 total points
Comment Utility
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
 
LVL 6

Author Comment

by:xRalf
Comment Utility
I can't give more information. Visual Studio doesn't offer more information, only this error description.

Conflicts are resolved with TortoiseSVN.
0
 
LVL 5

Expert Comment

by:libin_v
Comment Utility
Search for "<<<<<" in the whole solution
0
 
LVL 3

Expert Comment

by:trunghieubkit
Comment Utility
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
 
LVL 6

Author Comment

by:xRalf
Comment Utility
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
 
LVL 3

Assisted Solution

by:trunghieubkit
trunghieubkit earned 400 total points
Comment Utility
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
LVL 5

Expert Comment

by:trungnt8
Comment Utility
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
 
LVL 6

Author Comment

by:xRalf
Comment Utility
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
 
LVL 5

Expert Comment

by:trungnt8
Comment Utility
That's possibly a bug of Tortoise.
Error      49      Files has invalid value "<<<<<<< .mine". Illegal characters in path. --> Does VS specify which files ?
0
 
LVL 6

Author Comment

by:xRalf
Comment Utility
No, VS does not specify it.
0
 
LVL 6

Author Comment

by:xRalf
Comment Utility
to trunqn8

How do you know that it's a bug of Tortoise?
0
 
LVL 3

Expert Comment

by:trunghieubkit
Comment Utility
It's not a bug of SVN,
You may should read more at
http://tortoisesvn.tigris.org/faq.html
0
 
LVL 3

Accepted Solution

by:
trunghieubkit earned 400 total points
Comment Utility
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now