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

Re: How to compare working copy file with older version of that file?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Fri, 30 May 2008 10:27:30 -0500

Grant Edwards wrote:
>
>> Did you create the branch, delete it, then create it again?
>
> No, not that I remember, and I don't see any indication of that
> in the log for the parent directory.
>
> It appears from the log that I committed both the "copy"
> operation that created the branch and the additions of the new
> files in a single "commit". Is that illegal?

If you copy workspace -> URL you can get changes in the copy that aren't
committed anywhere else - and sometimes you might want that.

> I guess I can create a new branch from the trunk and re-add the
> current versions of the new files. Assuming that new branch
> isn't broken, I'll at least have access to revisions from this
> point forward. I won't have history on the added files prior
> to today, but by access to old revs of those files isn't really
> working anyway.

If you expect the start of a branch to have continuous history back
through the trunk before the branch was created, you need to either
commit all changes back to the trunk before copying the workspace to a
branch or create the branch by copying a trunk revision instead of the
workspace.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-30 17:27:04 CEST

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

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