Line ending issue with Mercurial or Visual Studio -


i seem have strange issue caused either visual studio or mercurial. localised single project, i'm guessing in project configuration causing issue.

at difficult specify point, when perform action in visual studio, update every line ending in given file, means when @ file in sourcetree, every line has changed.

i can replicate using nuget add package dependency; packages.config entirely replaced. if commit changes, including line endings, later same issue occur. workaround have shelve changes , reapply them, whereupon lines written correctly.

i'm not sure application blame here. did make mistake of allowing sourcetree change mercurial configuration, issue have fixed, i'm not sure if has persisted.

i thought might issue mercurial.ini files or hgrcs don't seem contain untoward. here's mercurial.ini

[ui] username = ....  [auth] bb.prefix = https://bitbucket.org/ bb.username = .... bb.password = ....   [extensions] mq =  rebase =   [web] allow_push = * push_ssl = false 

... , project hgrc: ...

[paths] default = https://... 

you have badly configured eol extension (single?) repository in mercurial. configure in proper way (or disable, if code /repositories/ live on windows)


Comments

Popular posts from this blog

ruby on rails - Is it the correct way to implement belongs_to relation with factory girl? -

geolocation - Windows Phone 8 - Keeping background location tracking active beyond four hours -

Uncaught TypeError: Cannot read property 'parentNode' of null javascript -