Binary diff/merge proposal
Gordon Tyler
gordon at doxxx.net
Wed Oct 13 23:43:43 BST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/13/2010 4:08 PM, jbowtie at amathaine.com wrote:
> On Thu, Oct 14, 2010 at 1:20 AM, Gordon Tyler <gordon at doxxx.net> wrote:
>>
>> Why does it matter whether a merge tool supplies a GUI?
>>
>
> For text merges, it doesn't really matter - you can just open up the
> file and resolve conflicts manually. For binary formats however
> (especially those that touch very complex formats) it may be the only
> way to actually do conflict resolution. Without this the goal of
> becoming useful for artists fails.
Sorry, I misread the earlier part about a single tool being able to
provide both a text merge and GUI merge.
It seems simpler to just have the user provide different names when
registering the tool to distinguish between text-mode and GUI-mode, e.g.
"GIMP (text)" and "GIMP (gui)". Hardcoding this distinction into the
tool framework with an explicit GUI flag doesn't handle the case where
there might be more than one text mode or more than one GUI mode.
Currently my mergetools module in bzr derives the tool name from the
executable but that can be changed. Although, anything more complicated
than the list of command-lines it currently stores is going to require
some trickery with the bzr config API since embedded sections are not
allowed.
Ciao,
Gordon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQEcBAEBAgAGBQJMtjYfAAoJEIrPJfWinA2u0joIAJZlVdpz8jGiRf1AGi+JESmt
U60EonD0j0PlUWgKVJkph0jNN1B2mjoJpbMgQJuhrSygB7z8hQ5o2bJsoyhLrXNK
5HfOl1Oson0Eo0yzWMheTEQQuHqWwuTviRb8dm20GhlY5yKeRboYD7vJbcB29T0p
K7h0IZjYv5LS7aiOzGUUlOfqL+aC1dunZcnGt7lEO8MDcjEtmbmsu2NYZd5ojGX3
ZarOIv+GsSrVuSKEL49xxaYUldU3nPN0PyVrG05uve5RhOLJDjchKtIwrUrZbZom
mNt7ElyF5VkfQAGB10mT1NWbgPBZQXZvL218+XN+J3olzWfhEI22lB/Lp5sYHgg=
=smAJ
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list