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

Re: tag moving

From: David Weintraub <qazwart_at_gmail.com>
Date: 2005-07-28 18:41:03 CEST

So, checking out a clean work directory was fine. Doing an "svn
update" on the old work directory had problems.

You may need to do a "svn switch" even though the URL is actually the
same. I don't know enough of Subversion's internals to understand how
it tracks the URL, but I suspect that that the old working directory
is still pointing to the old tag directory and not the new one.

On 7/28/05, Fabian Cenedese <Cenedese@indel.ch> wrote:
>
> >> svn delete (repo)/tags/current
> >> svn copy (repo)/trunk (repo)/tags/current
> >>
> >> Would a checked out working copy get any new files with
> >> svn update?
> >
> >* You have a tag REL1.0 over various versions of your files. However,
> >you decide that the versions tagged as REL1.0 isn't the right version
> >(maybe the release was pulled at the last minute). In this case,
> >simply delete the tag directory REL1.0 and recreate it by copying the
> >correct version of the release..
>
> That's what I did. The problem is that I had a checked out working
> copy of the older tag. When I then updated this copy with the now
> new "current" tag it only updated the existing files. But there were
> also new files in the new tag and they didn't get created in the
> existing working copy. Only when I checked out anew I also got
> the new files (don't know about deleted files, didn't test yet).
>
> cvs update had a switch -d to create directories which were new
> in the repo. But I couldn't find a similar switch for svn update.
> Anyway, the new files were in an existing directory, so I would
> have needed a flag to update also new files.
>
> So: should it work to update and get new files or do I need to do a
> new checkout? Updating from the trunk usually also gets new
> files so it generally works fine.
>
> Thanks
>
> bye Fabi
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

-- 
--
David Weintraub
qazwart@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jul 28 18:45:01 2005

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