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

Re: "Hotsync"

From: Thomas Hruska <thruska_at_cubiclesoft.com>
Date: 2006-07-16 01:30:54 CEST

Jean-Marc van Leerdam wrote:
> Thomas,
>
> On 15/07/06, Thomas Hruska <thruska@cubiclesoft.com> wrote:
>>
>> Jean-Marc van Leerdam wrote:
>> > Thomas,
>> >
>> >>> Every once in a while I find myself checking in files from my main
>> >>> computer so that two minutes later I'm checking the same branch
>> out on
>> >>> my laptop. Then a couple hours later I reverse the process. I would
>> >>> like to use TSVN to accomplish this without incurring a version
>> >>> increase.
>> >
>> > And what should be done when you find two locally modified versions
>> of a
>> > file - one on the laptop and one on the PC? This is exactly why one
>> uses
>>
>> That won't happen.
>
>
> Ahhh, one of the top ten 'famous last words' ;-)

That doesn't change the fact that I still want the feature. I've
figured out how to write a utility that does this by reading the
.svn/entries file in each WC directory, extract 'name', 'kind', and
'checksum' (looks like MD5) from each entry, and then replicate just
those files at the destination.

Combining this into a Beyond Compare plugin should suffice as a
reasonable solution. Maybe. I'd modify the source to TSVN, but the
setup requirements demand huge changes to my compile-time and runtime
environments that I'm going to risk over such a minor change. It is one
dialog, a little code to map dialog interaction to internal variables,
and calling the code that retrieves filenames from a WC and then simply
copies each file to the destination (plus 'delete' files marked for
deletion in the WC). Essentially a one hour task for someone who knows
the code base.

--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.
Learn more and view a sample chapter:
http://www.CubicleSoft.com/SafeCPPDesign/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sun Jul 16 01:31:09 2006

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