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

Re: "Hotsync"

From: Steve Williams <stevewilliams_at_kromestudios.com>
Date: 2006-07-17 02:49:29 CEST

Thomas Hruska wrote:
> Jody Shumaker wrote:
>
>>> 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
>>>
>>>
>> You could probably also do this via patches. I don't have much
>> experience with using them, but the basic idea would be to create a
>> patch of your modifications on one pc, transfer it to the other pc,
>> revert th eother pc to a clean working copy, then apply the patch. It
>> will only be applying diffs and thus be a smaller set, and it will
>> only work on files svn knows about.
>>
>> - Jody
>>
>
> An interesting suggestion and the only one that I've seen that makes any
> sense. Unfortunately, I gave it a try and TSVN choked on a directory
> containing over 15,000 files - of which only a handful are actually in
> the WC. Well, 'choked' may be the wrong word. "Took a very long time
> to return control to the user" is probably more accurate. I've also
> tried using 'svn diff' but that has problems with the binary files in my
> WCs.
>

Windows Explorer has slowdown issues with that number of files in a
directory anyway, and then you add TSVN on top of that, which has to do
a check on every file to see if it is in source control or not. Our
solution here in that case was to move the files that are not in source
control elsewhere. Then Explorer and TSVN are both very responsive.

-- 
Sly
This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Mon Jul 17 02:49:39 2006

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

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