Learning Arch commands for CVS users

This text is supposed to guide you through the transition from CVS to arch for simple cases and make you aware of possible problems that you may run into. The biggest value may be contained in the one-to-one comparisons of CVS to tla commands. You are however encouraged to read through the additional remarks as well to make sure you don't get hit too hard by the tla's slightly different semantics.

Identify yourself

This is stashed in ~/.arch-params. You only need to do it once per machine/home directory.

Creating an archive

Your default archive is also remembered in ~/.arch-params.

As with CVS, each Arch working directory remembers the archive/server and module/version that it's associated with. So in both systems, you don't need to worry about this when re-entering a working directory, only when getting or importing a new one.

Importing a version

Getting a revision

(Question: in the equivalent to the "cvs update -r rev", is the tla "ver" something special, or is it simply a typo for "rev"? If it's not a typo, is it the literal string "ver", or is it meant to mean some other version, distinct to the version tagged "rev" in the CVS example? Some more explanation might be needed.)

FIXME: This is too complex. The common operation in both CVS and tla is to just get the most recent revision on a particular version. That's what we should document first. Getting a particular old revision is a more advanced/uncommon operation.

Making modifications

Showing local changes

Tagging and branching

Merging

Miscellaneous

Some description of other CVS features might be sensible here - especially, CVS modules. E.g. in Arch, how can you "link in" a separate module, as you can via the CVS modules file of aliases?

Learning Arch commands for CVS users (last edited 2008-07-22 17:39:24 by 64)