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

SVNCopy - move/copy/sync WCs...

From: Thomas Hruska <thruska_at_cubiclesoft.com>
Date: 2006-07-20 01:58:08 CEST

A couple days ago I proposed a feature enhancement to TortoiseSVN and
was initially rejected outright. Put simply, this moves/copies/syncs a
WC very quickly between a PC and a laptop over a network without
incurring a version increase on the central repository. I developed the
following (free) tool called SVNCopy that accomplishes that purpose:


It apparently works well enough that TSVN developers recommended that I
forward my request to this list because it does some version-dependent
things to achieve its overall performance. The program itself has
_default_ dependencies on TortoiseMerge, XCOPY, and the NT series of
Windows (NT/2000/XP), but please just recognize this as a
proof-of-concept tool and not a set of requirements.

This tool allows me to copy just the files of a large WC to my laptop in
3 seconds or less from my PC - including all changes. Then I can take
this anywhere - a meeting, lunch, outside, a business trip, etc. When I
return, I use SVNCopy again to copy the WC back to the PC from the
laptop - again only taking a couple seconds. Neither of these
operations consumes a revision.

If someone accidentally edits both WCs, SVNCopy attempts to merge/sync
the two WCs before performing the main operation. Essentially, it is
unlikely to fail in even accidental editing scenarios.

I'm willing to share my source code if this is a feature you guys are
interested in developing into an API that will be able to trickle down
to TSVN. A couple of commercial companies that I've approached that use
TSVN are quite interested in SVNCopy and a number of developers are
already using it. Essentially, SVNCopy makes it possible to create
"mobile WCs".

Given that this is just a proof-of-concept tool and is already
moderately popular, I would love to see something similar show up in
Subversion and ultimately TortoiseSVN as an official feature.

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:
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jul 21 14:42:46 2006

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

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