"Wadsworth, Eric (Contractor)" <wadswore@fhu.disa.mil> writes:
> > > She replied, "Yeah, but my working copy is now lost, as it
> > was replaced with
> > > the merged version. So now I have to manually go through
> > the file and try to
> > > sort out my code from the other code. I think I'll make a
> > backup of my
> > > working copy before I update each time."
> >
> > Her changes are only "lost" if they were exactly the same as changes
> > someone else made. 'svn diff' will still show the changes she made
> > that weren't identically made as well by someone else.
>
> Her lines of code were merged with what was in the repository. If she wants
> to restore this file in her working copy to its state before the "svn up"
> command was executed, she must manually go through the file, line-by-line,
> and remove lines added by the merge process. The original file, premerged,
> is lost (though all of the lines of code are preserved in the merged file,
> they much be manually sorted out).
Okay, I can see this as being interesting from a theoretical point of
view. Now, what's the use-case? That is, why is it important that
she know which lines of code she changed were the same lines of code
that someone else changed in the same way? Had she run 'svn up'
before starting her change, she wouldn't have changed those lines at
all.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Aug 18 17:11:19 2003