Getting Started Documentation Glish Learn More Programming Contact Us
Version 1.9 Build 1556
News FAQ
Search Home


next up previous contents index
Next: ai Up: Code management Previous: ac

Subsections



ae

Extricate an AIPS++ source file from a half-completed checkin/out.

Synopsis

ae file

Description

ae extricates a source file in the current directory from a half-completed RCS checkin/out. Such problems sometimes arise when the checkin/out is interrupted part way through leaving behind an RCS semaphore file.

The presence of a defunct RCS semaphore file is indicated by repeated ``in use'' errors when a checkin or checkout of a file is attempted.

ae assumes that you are working within a private directory tree which shadows that of the AIPS++ master source code tree, see mktree (p[*]). It determines the corresponding master directory from the current working directory.

The filename argument must be a simple filename without path or RCS ,v suffix.

ae invokes $MSTRETCD/ae_master, where $AIPSMSTR is expected to be NFS mounted from the AIPS++ master host (see §1.1.4). It waits till the semaphore file is at least 15 minutes old before deleting it in case a slow RCS transaction is in progress.

Options

None.

Notes

Diagnostics

Status return values
0: success
1: initialization error
2: semaphore file not found
3: failed to delete semaphore file

Examples

The command

   cd ~/aips++/code/aips/implement/FooBar
   ae Foo.cc

would delete the RCS semaphore file for Foo.cc if it existed.

Bugs

See also

The manual page for ci(1), the RCS checkin command.
AIPS++ variable names (§1.2).
AIPS++ code management configuration (§1.1.4).
ai (p[*]) AIPS++ code checkin utility.
ao (p[*]) AIPS++ code checkout utility.
mktree (p[*]) create AIPS++ directory hierarchy.
tract (p[*]) report the age of a file or directory.

Author

Original: 1995/02/23 by Mark Calabretta, ATNF.


next up previous contents index
Next: ai Up: Code management Previous: ac   Contents   Index
Please send questions or comments about AIPS++ to aips2-request@nrao.edu.
Copyright © 1995-2000 Associated Universities Inc., Washington, D.C.

Return to AIPS++ Home Page
2006-10-15