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

Re: hooks to facilitate source conversion from binary form to text and back

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 30 Sep 2009 21:09:14 +0200

On 30.09.2009 17:06, Eduard Alexandru wrote:
> I'm a visual foxpro developer and the bulk of visual foxpro source
> files are in binary format (foxpro compatible tables).
>
> In order to use the svn's compare and merge facilities compunity
> members have created tools to perform the convertion of source files
> from binary form to text (xml files) and back to binary form. The
> files places and source control are the xml versions.

Are those tools opensource? If yes, where can I find them?

> The process is simple, however tedious and i hope that in some future
> version the TortoiseSVN team will add pre/post hooks to "Check for
> modifications" and "Checkout" operations so users like me could hook
> the conversion tools directly into TSVN.

Actually, it's quite easy to do this now without the need to change
something in TSVN:
create a diff script for those foxpro files, and configure TSVN to use
that diff script (settings dialog->external programs->diff viewer->advanced)

in your diff script, you should call the conversion tool, then pass the
converted files to TortoiseMerge (or any other text diff tool you like).

And if you have that script ready, we'd appreciate it if you could make
it opensource and send it to us so we can include that script in TSVN.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2402245
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-09-30 21:09:20 CEST

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

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