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

[TSVN] RE: FW: TortoiseSVN development role

From: Brian Marquis <brian.marquis_at_upos.com>
Date: 2005-07-28 23:17:58 CEST

Thanks for your excellent response. Regarding the word and OO-Writer
scripts, I'll examine them as soon as time permits.

Brian Marquis - Technical Services Director
American Computing Systems
Ultimate Point of Sale (UPOS)
Email brian.marquis@upos.com
(574)674-0799 phone
(404)420-2161 efax

-----Original Message-----
From: SteveKing [mailto:steveking@gmx.ch]
Sent: Wednesday, July 27, 2005 10:32 AM
To: brian.marquis@upos.com
Cc: TortoiseSVN Dev
Subject: Re: FW: TortoiseSVN development role

Hi Brian,

Please make sure you send future mails about TortoiseSVN to the mailing
list (dev@tortoisesvn.tigris.org).

About your request, see my comments inline:

>> -----Original Message----- From: Brian Marquis
>> [mailto:brian.marquis@upos.com]
>>
[snip]
>> The main issue we have centers around Foxpro's use of DBASE style
>> tables for storing class, form, report and project definitions.
>> Each is a pair of tables, a .dbf file and a corresponding memo file
>> (.fpt) with varying deviations on the file extension to allow
>> Foxpro to recognize whether it's a class, form, report, etc.
>>
>> I'd like to offer a few ideas, and as time permits some assistance
>> with writing code to implement them.
>>
>> 1. I'd like to see a Tortoise Hooks feature, where a user could
>> define pre/post actions for updates and commits. I'm assuming we'd
>> want hooks corresponding to each server side hook.

That's a request which has come up once in the past. I think it's even
in our old issuetracker but got lost when we moved the issuetracker.
I'll added a new entry for this in our issuetracker:
http://tortoisesvn.berlios.de/issues/index.php?do=details&id=137

>> 2. The ability to use wrapper scripts for any Tortoise menu option
>> (or OLE automation).

The menus you see in the explorer don't use OLE at all. When you click
on them, the TortoiseProc.exe is called with specific command line
options. Those options are documented in our docs, so you should be able
to use all TSVN commands just fine without the overhead of OLE.
If you think something is missing there, just tell us.

>> 3. Support for file interdependencies.
>>
>> Because we work primarily with Foxpro, I'd like to elaborate on the
>> features above using Foxpro as an example. As mentioned earlier,
>> Foxpro uses file pairs to define the components within it's
>> applications. In order to diff these components we need to have
>> four files instead of two.

So that means you would call a custom diff tool for those files?
That's already possible. Please check the our scripts we use to diff
Word and OO-Writer files here:
http://tortoisesvn.tigris.org/svn/tortoisesvn/trunk/contrib/other/diff-scrip
ts/
(login: 'guest' - password: 'guest')

You can then write such a script (it doesn't have to be a vbs script,
anything running with wscript.exe will work). The script receives the
filenames to diff, so you could examine the filepaths, find out the
filenames of the other two files you need and then call your custom diff
tool with those four files.

Of course, if you write such a script, we would appreciate it if you
send it to us so we can include it in our next release. You don't have
to if you don't want, but it would be nice.

>> 1 & 2. The ability to wrap or hook into Tortoise at various points
>> would allow developers to perform pre or post processing in order
>> to prepare their files for versioning. In our case, we would add a
>> hook to convert the files to/from a textual representation.

Just be aware that such hooks would only work with TSVN. Other
Subversion clients won't have those hooks implemented and therefore if
you use another client than TSVN, you might get into problems.

>> 3. File interdependencies would allow us to ask Tortoise to
>> checkout the related files before performing a diff or merge. In
>> many cases, it is also necessary to maintain the original file
>> extensions:
>>
>> makedir /tmp/tsvn5623 copy .svn/text-base/MyClass.vcx.svn-base
>> /tmp/tsvn5623/svn-base/MyClass.vcx copy
>> .svn/text-base/MyClass.vct.svn-base
>> /tmp/tsvn5623/svn-base/MyClass.vct
>>
>> svn checkout http://svnpath/MyClass.vcx
>> /tmp/tsvn5623/head/MyClass.vcx svn checkout
>> http://svnpath/MyClass.vct /tmp/tsvn5623/head/MyClass.vct

Just a note:
you can't checkout a single file, only folders! What you want here is
the 'svn cat' command.

>> VFPSourceCompare.exe /tmp/tsvn5623/svn-base/MyClass.vcx
>> /tmp/tsvn5623/head/MyClass.vcx

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jul 29 07:17:35 2005

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