On Sun, Aug 9, 2015 at 4:22 PM, arnoldemu <[email protected]>
wrote:

> kdiff3 makes it hard work, I must go and resolve every little thing
> including whitespace and empty lines. Merging multiple lines is hard work.
> So often I've given up and choose a different approach.
>

That's quite the opposite of my experience with "kompare" (a KDE-based
merge program). Click-click-click, save, done.


> I use perforce at work and it has automatic merge. This takes away a lot
> of pain and I must only suffer if there are merge conflicts. I always diff
> before commiting and always build to make sure it's good.
>

It's the same in fossil:

fossil merge <other branch>

is painless until their are conflicts, at which point a human has to
resolve those.


> My alternative approach for merge is:
>
> 1. get head on trunk and copy the files to another directory
> 2. get head on branch and copy the files to another directory
> 3. get head on trunk, perform merge (fossil now records the fact of the
> merge)
> 4. copy files from copied trunk directory
> 5. diff against trunk using meld checking each file one by one.
>

That's a painful way to do it. Unless you have conflicts, merging should be
painless. It sounds to me like you are using 'fossil gdiff' to resolve your
merges manually instead of using 'fossil merge'?


> Is there a way to make merges much less painful? Is there any form of
> automatic resolution in fossil or a tool that has this and works similar to
> perforce in this respect?
>

It's all automatic - i suspect you're just going about it the hard way.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to