Re: unexpected behavior with tag -> move

"Arthur Barrett" <arthur.barrett-qn/[email protected]> Mon, 8 Feb 2010 20:39:42 +1100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Gordo et al,

> > The -H description of  the CVSNT -F option is very clear: "-F     
> > Move tag if it already exists."  (underline is mine) 
> > 
> > Running a few command line tests, it seems clear that the -F option
> > has NO EFFECT on how CVSNT responds. 
> 


If you do NOT specify -F then existing tags are NOT moved.

The TAG verb is described in the manual as "Create a tag or branch":
http://cvsnt.org/manual/html/tag.html

Therefore all the options to TAG still "Create a tag or branch".

I think the command that you wanted to run was:
cvs rtag -r existingtag newtag

Eg:
cvs rtag -r release1 release1-1

If you absolutely really needed to 'move' release1 to release 1-1 you
could then use tortoise or the command line to 'checkout' relesae1-1
which would create a sandbox with ONLY the files you requested and then
tag/move tag release1 to the currrent sandbox (cvs tag -F release1).

However if you are trying to track releases then I recommend instead
using promotion levels and changesets integrated to your defect tracking
system (ie: 'promote' bug 1234 to 'test' then 'promote' to 'prod' and
deploy using the deployment (checkout) trigger or release manager:
http://march-hare.com/cvsnt/features/book/en.asp

Of course if you would like to improve the documentation of the
community edition of CVSNT or TortoiseCVS or improve the translation of
TortoiseCVS dialogs then that is always welcome - please checkout the
source code and make your changes and submit them back.

Note: there is a separate mailing list for CVSNT:
http://www.evscm.org/


Finally - I personally think TortoiseCVS is a terrific productivity tool
for developers.  However creating a software release is not a
typical/everyday development task - it is anadministartive task.  I do
not recommend using any GUI for administrative tasks for the simple fact
that if you do something wrong it is difficult to track what it was (no
command history) - but also that the command line tools are generally a
little clearer.

Regards,


Arthur Barrett







> I have to agree... "move" seems to mean "move" :)
> 
> It could be that the CVSNT manual entry is just badly worded, 
> and means
> "create a tag, but move it if it exists". This is clearly 
> different from
> "Move the tag if it already exists."
> 
> The TortoiseCVS dialog talks about "moving" a tag. TortoiseCVS's basic
> strength is making CVSNT a user-friendly tool, and probably 
> giving this
> option a wording that is closer to what it does would be in alignment
> with this. "Move existing or create new tag" maybe.
> 
> Gerhard
> 
> --------------------------------------------------------------
> ----------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network 
> in the business
> Choose flexible plans and management services without 
> long-term contracts
> Personal 24x7 support from experience hosting pros just a 
> phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> tortoisecvs-users mailing list
> tortoisecvs-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/tortoisecvs-users
> 

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com