[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: [TSVN] Merging problem with TABs

From: Thomas Börkel <tbo_at_ap-ag.com>
Date: 2004-10-26 13:14:44 CEST

HI!

> > I am merging the changes from one file between 2 branches
> into my working copy. I only get a small conflict in one
> line, which I can easily resolve.
> >
> > Problem is, parts of the file has tabs for indentation in 1
> branch only (I know, it's ugly that it's only in 1 branch and
> only partly, this was an accident).
> >
> > Those parts are not different between the 2 branches (I
> have set Tortoise to ignore whitespaces), but still, after
> the merge, I have those tabs in my working copy. Is this by
> intention or a bug? I thought, it should only put the changes
> between the 2 branches into my wc.
> >
> > If I merge with the command line svn and then edit the
> conflict with Tortoise, it still happens. So, I suspect the
> problem is with Tortoise.
>
> If you set TortoiseMerge to ignore the whitespaces, then it will
> _ignore_ the whitespaces (and as you know: tabs are whitespaces too).

I know.

> So it just takes the tabs from one file and doesn't check if the other
> file has spaces instead of tabs.
> Don't ignore the whitespaces and you'll be fine.

I tried, but then I have half of the file conflicted.

What I don't understand is, why it does not leave the unchanged parts (with tabs or not) alone, meaning take them from the wc?

Thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Oct 26 14:19:47 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.