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

"Update item to revision" in log view across a move/rename

From: Karsten Sperling <karsten.sperling_at_rhe.co.nz>
Date: 2006-08-30 11:51:51 CEST


I had a repository with /trunk and /branches/foo. Because the trunk code
  was now maintained in a different repository and only the branch was
staying in this one, I deleted /trunk and moved /branches/foo to /trunk
using the repo browser (This may not be the best thing to do, but that's
not my point here).

A bit later I decided that I wanted to update a directory in my working
copy, corresponding to /trunk/bar to an earlier revision. So I viewed
the log for that directory, and it correctly shows the version history
for the directory that is now /trunk/bar but used to be called
/branches/foo/bar. If I right click on any version and select "Browse
Repository" it correctly takes me to that revision of /branches/foo/bar.

However if I do an "Update item to revision", I end up with the old
revision of /trunk/bar, i.e. what was in trunk before I deleted it, NOT
with the item I'm looking at in the history viewer.

Now this behaviour would clearly be correct if I had simply
right-clicked on /bar in explorer and selected "update to revision" X.
But in this case I asked for a specific item from the history of that
directory, which happened to be at a different path in the repository at
that point in time.

I think TortoiseSVN should at least warn me that what I'm going to get
is not what I asked for, but preferably even offer to "switch" the
directory to the requested revision of whatever the previous location of
the item was, in my case /branches/foo/bar (which is what I did manually
after I realized what was going on).

Best regards,

P.S.: Please CC me on replies as I'm not subscribed to the list.

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Aug 30 11:52:49 2006

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

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