ConvertPRCS extension
Add-on to the Convert extension which adds PRCS as a conversion source (work-in-progress).
1. Status
This extension is not distributed with Mercurial.
Author: Kaz Nishimura
Repository: https://bitbucket.org/kazssym/hgext-convertprcs
Web page: https://bitbucket.org/kazssym/hgext-convertprcs (temporary location)
1.1. Implementation status
As of May 22, 2015, this extension can import all revision history from a PRCS project except file renames.
2. Overview
This extension just adds PRCS as a conversion source of the Convert extension. With this extension, you can specify a PRCS project as a conversion source in the hg convert command.
This extension will import all branches with numeric major versions as the main (default) branches according to the PRCS convention and others as its own. If a PRCS project has multiple numeric major versions such as 0, 1, 2, etc., the destination repository will have multiple heads. It does not add tags to any imported revisions since PRCS does not support them.
This extension requires the following software:
- Mercurial on Python 2.5 or later,
a working prcs command (available from here), and
Python module prcslib in prcs2hg 2.0 which is not released yet.
3. Configuration
Configure your .hgrc to enable the extension by adding following lines:
[extensions] convert = converprcs = REPO/hgext/convertprcs