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

RE: Version control? You're soaking in it!

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2005-05-04 01:56:26 CEST

John Burwell wrote:
> Currently, we all work out of a shared directory, making local copies
> of files we're working on, then copying those back to the server. My
> first thought was to import the current project from the server into
> my own repository, then (secretly!) replace that tree on the server
> with a checked-out copy. From then on, I'd make my own changes as if
> the project was officially versioned, and then I'd go to the server
> and run an svn update. To bring their changes into my repository, I'd
> sneak over and make one big commit each night, with a message to the
> effect of "Everyone else's changes."
[...]
> So... those of you with a mischievous streak... should I go for it?

Your plan of (secretly!) replacing the current server tree would
probably be fine, but I'd keep a couple of things in mind:

* If the server tree that everyone else uses is a Subversion
  working copy, there will be ".svn" folders that will
  contain copies of all the files. This might be a cause
  for concern in your co-workers.

* If you import first, then you have to pull some kind of
  switcheroo stunt to make the shared server tree a working
  copy. An easier option would be to check out an empty
  repository folder to the existing server tree, then put
  the existing files under version control with "svn add".

* When checking in other people's changes, it might be
  worth specifying a different Subversion username.
  For instance, "everyone_else". This means that you
  can get useful results out of "svn blame", and
  your "svn log" will be better for it too.

Good luck!

-- 
Robert Hunter
#############################################################################
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it - 
please contact me immediately, destroy it, and do not copy or 
use any part of this communication or disclose anything about it.
Thank You.
Please note that this communication does not designate an information system
for the purposes of the NZ Electronic Transactions Act 2002.
This email was scanned and cleared by NetIQ MailMarshal at Gen-i Limited.
#############################################################################
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 4 01:59:11 2005

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