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

RE: Pair Programming with Subversion

From: Stephen Warren <swarren_at_paramanet.com>
Date: 2004-03-30 23:26:22 CEST

> -----Original Message-----
> From: andy.glew@amd.com [mailto:andy.glew@amd.com]
> Subject: Pair Programming with Subversion
> In XP (eXtreme Programming) Pair Programming, 2 programmers
> work closely together. Some people have 2 programmers
> sharing a monitor, mouse, and keyboard; I practice a variant
> where both of us have our own computers, and are logged
> in separately, but where we work, at the same time, in
> the same directory. We do things like one guy working
> on a test while the other guy checks in the code, etc.
> We change roles frequently: first I check in, then my
> partner uses the version control tool, etc.

In this scenario, couldn't you both simply create your own working copy, instead of sharing one, then you can both checkin/out to/from a branch shared by just you two, for the sharing aspect.

Whenever you would have checked in, simply merge your private branch to the real mainline branch.

Of course, this means you have to interact with version control a lot more to share files, plus there's an extra branch and associated merging operations, so it's not a perfect solution, but will certainly work in the absence of anything else...

Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Mar 30 23:26:52 2004

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