[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Doing an rtag inside a commit?
From: |
Derek R. Price |
Subject: |
Re: Doing an rtag inside a commit? |
Date: |
Wed, 18 Oct 2000 13:35:40 -0400 |
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:address@hidden 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.