Andrew Gilmartin wrote:

> I want to automatically tag a committed file with a defect number. The
> number is recorded in the commit message. Using rtag in a script called by
> loginfo results in
>
>         cvs rtag: [11:28:35] waiting for ajg's lock in
> /seagate/users/ajg/xxx/repository/m1
>
> And, obviously, it will wait forever. Does anyone have a workaround for
> this?

Backgrounding it should work, just as for log ('command args &' - see the
Cederqvist on keeping a checked out copy:
http://cvshome.org/docs/manual/cvs_18.html#IDX538 ).  You'll be creating a
race condition if you're not telling tag exactly which revisions should be
tagged however.  Not one that would probably be encountered too often, but
you are.

Derek

--
Derek Price                      CVS Solutions Architect ( http://CVSHome.org )
mailto:[EMAIL PROTECTED]     OpenAvenue ( http://OpenAvenue.com )
--
It is surely time for men to think for themselves, and to throw off the
authority of names so artificially magnified.

                        - Thomas Jefferson to William Short, 1820.




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to