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

Re: Newbie, with revision history retention question.

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2007-08-14 17:41:35 CEST

On 8/14/07, Erik Huelsmann <ehuels@gmail.com> wrote:
> On 8/14/07, Jason.Yankus@usitc.gov <Jason.Yankus@usitc.gov> wrote:
> >
> > Greetings:
> >
> > We're about to perform some extensive project refactoring of a codebase
> > that is relatively mature. We're interested in switching to Subversion
> > (from cvs) because we've heard (and read) that subversion does a better
> > job of maintaining revision history during file renames or moves.
> >
> > I'm trying to find confirmation of a point.
> >
> > Given this scenario:
> >
> > A file exists: foo/bar/Baz.java
> >
> > If the file is refactored to: foo/gazonk/BaseBaz.java
> >
> > Is the revision history retained for all changes made to the original,
> > Baz.java? Is that revision history still available to view on
> > BaseBaz.java? Note that not only has the file been renamed, but it has
> > moved to an entirely different directory. What if the file moved from
> > one "project" to another, such as foo/bar/Baz.java to
> > gazonk/bar/Baz.java?
> >
> > Sorry to pepper everyone with these seemingly obvious questions from a
> > novice. I need to confirm the behavior to help justify our migration.
>
> As long as the file stays within the same repository, history is retained.

And the correct SVN commands are used (svn move, svn rename, svn copy,
etc.) instead of removing and re-adding.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Aug 14 17:39:50 2007

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