Discussion:
Cannot remove Branch
Gagneet Singh
2003-11-09 12:16:32 UTC
Permalink
Hi!

I am facing a problem while trying to remove a branch I had created. I
know it is not advisable, but I have not made any changes on that branch
and nor have I committed or updated to that branch as yet.

The problem I am getting is:

cvs rtag -b -d ACME_Branch source
cvs rtag: Untagging source
cvs rtag: Not removing branch tag `ACME_Branch' from
`/cvs/source/project1.dsp,v'.

Where ACME_Branch is the name I have created for the branch and source
is the module name in the repository.

I am using cvs version 1.11.7 and WinCVS version 1.3.10b.

Am I using the wrong command or do I have to remove the branch from the
server?

Gagneet


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@yahoogroups.com


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Oliver Giesen
2003-11-09 15:14:26 UTC
Permalink
Post by Gagneet Singh
cvs rtag -b -d ACME_Branch source
cvs rtag: Untagging source
cvs rtag: Not removing branch tag `ACME_Branch' from
`/cvs/source/project1.dsp,v'.
Where ACME_Branch is the name I have created for the branch and source
is the module name in the repository.
I am using cvs version 1.11.7 and WinCVS version 1.3.10b.
Am I using the wrong command or do I have to remove the branch from the
server?
Ooh, I feel a new FAQ coming on... ;)

At some point in the last year, CVS(NT) was modified to disallow moving
or deleting of branch tags unless explicitly told to do so by the new -B
option (aka "allow move/delete of branch tag (not recommended)" in
WinCvs). The corresponding GUI option was added in WinCvs 1.3.13 .

Hope this helps.
--
Oliver
------
In everybody's best interest, please do not post or CC technical
questions to me in private unless they are specifically about a
macro/product of mine that is NOT already bundled with WinCvs.
---- ------------------
JID: ***@jabber.org
ICQ: 18777742 (http://wwp.icq.com/18777742)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@yahoogroups.com


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Mark D. Baushke
2003-11-09 16:10:12 UTC
Permalink
Post by Gagneet Singh
I am facing a problem while trying to remove a branch I had created. I
know it is not advisable, but I have not made any changes on that branch
and nor have I committed or updated to that branch as yet.
cvs rtag -b -d ACME_Branch source
cvs rtag: Untagging source
cvs rtag: Not removing branch tag `ACME_Branch' from
`/cvs/source/project1.dsp,v'.
Where ACME_Branch is the name I have created for the branch and source
is the module name in the repository.
I am using cvs version 1.11.7 and WinCVS version 1.3.10b.
Am I using the wrong command or do I have to remove the branch from the
server?
The option for cvs 1.11.7 is an uppercase -B, not a lowercase -b. See

http://www.cvshome.org/docs/manual/current/cvs_4.html#SEC51

The -B switch (as opposed to the -b switch) was introduced by cvs
version 1.11.2 from the cvshome.org site, so it may indeed be necessary
for you to go to the server to delete that tag or for you to use a
cvs.exe based on cvs version 1.11.2 (or newer) from the cvshome.org
sources such as the one available here:

http://ftp.cvshome.org/release/binary/win32/cvs-1-11-9.zip

As I understand it, this problem was fixed in [bug 22] on the CvsNT
site and any version of CvsNT with tag.c version 1.16 which would be
CVSNT_1_11_1_3_70 or newer has this support.

You may wish to upgrade to CVSNT 2.0.11 on your client machines.
You may fetch it from the http://www.cvsnt.org/ web site Here:

http://homepages.nildram.co.uk/~tmhoyle/cvsnt-2.0.11.exe

be advised that I am not a Windows user and I have never used CvsNT, so
in your situation it may not be wise to upgrade...

Good luck,
-- Mark
Ian Huynh
2003-11-10 17:13:53 UTC
Permalink
Post by Oliver Giesen
(aka "allow move/delete of branch tag (not recommended)" in
WinCvs)
WHen you said 'not recommended', is it b/c CVSNT may do something bad
if we delete a branch tag?
Post by Oliver Giesen
-----Original Message-----
Sent: Sunday, November 09, 2003 7:14 AM
Subject: Re: [cvsgui] Cannot remove Branch
Post by Gagneet Singh
cvs rtag -b -d ACME_Branch source
cvs rtag: Untagging source
cvs rtag: Not removing branch tag `ACME_Branch' from
`/cvs/source/project1.dsp,v'.
Where ACME_Branch is the name I have created for the branch
and source
Post by Gagneet Singh
is the module name in the repository.
I am using cvs version 1.11.7 and WinCVS version 1.3.10b.
Am I using the wrong command or do I have to remove the
branch from the
Post by Gagneet Singh
server?
Ooh, I feel a new FAQ coming on... ;)
At some point in the last year, CVS(NT) was modified to
disallow moving
or deleting of branch tags unless explicitly told to do so by
the new -B
option (aka "allow move/delete of branch tag (not recommended)" in
WinCvs). The corresponding GUI option was added in WinCvs 1.3.13 .
Hope this helps.
--
Oliver
------
In everybody's best interest, please do not post or CC technical
questions to me in private unless they are specifically about a
macro/product of mine that is NOT already bundled with WinCvs.
---- ------------------
ICQ: 18777742 (http://wwp.icq.com/18777742)
------------------------ Yahoo! Groups Sponsor
---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the
US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/z3wwlB/TM
--------------------------------------------------------------
-------~->
Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@yahoogroups.com


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Oliver Giesen
2003-11-10 18:03:04 UTC
Permalink
Post by Ian Huynh
Post by Oliver Giesen
(aka "allow move/delete of branch tag (not recommended)" in
WinCvs)
WHen you said 'not recommended', is it b/c CVSNT may do something bad
if we delete a branch tag?
It's because unlike most other version control operations it cannot
(easily) be undone. If you remove a branch tag from a branch that
already had revisions on it, the only way to get that tag back there is
by hacking the repository files themselves.
"Not recommended" in this context therefore means "caution, only
activate this if you really know what you're doing".

Cheers,
--
Oliver
------
In everybody's best interest, please do not post or CC technical
questions to me in private unless they are specifically about a
macro/product of mine that is NOT already bundled with WinCvs.
---- ------------------
JID: ***@jabber.org
ICQ: 18777742 (http://wwp.icq.com/18777742)


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/z3wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
cvsgui-***@yahoogroups.com


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Loading...