Hi Peter,

> I have some source files in an hg repository with unix newlines, 
> checked out onto a windows PC.  My editor doesn't really care, 
> so I have no problems editing the file.  
> <snip>
> I figured that the merge had botched my line endings (converted 
> all my unix newlines to windows newlines), so i did a dos2unix 
> on the source file and hit refresh on the hgtk commit dialog (qct).  

FWIW I'm in a similar situation (working on windows collaborating on a mostly 
unix newlined repo) having recently switched to mercurial, and so face the same 
problem after any interactive merge.

I've taken to using an emacs macro (our editor of choice) to just de-dosify any 
previously unix files post-merge (and I'd automate this as a post-merge script 
if that ever became too tedious.)

Alternatively, if anyone can recommend a usable interactive merge tool that 
*preserves* the input file line endings (neither gpyfm or kdiff3 can be 
convinced to, afaics), it would be great to see that packaged with Tortoisehg.

Cheers,
Claudio



This message is for the designated recipient only and may contain privileged, 
proprietary, or otherwise private information.  If you have received it in 
error, please notify the sender immediately and delete the original.  Any other 
use of the email by you is prohibited.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Tortoisehg-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop

Reply via email to