Differences between revisions 5 and 6
Revision 5 as of 2015-05-23 02:03:53
Size: 1875
Editor: KazNishimura
Comment:
Revision 6 as of 2015-05-23 02:10:43
Size: 1885
Editor: KazNishimura
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
As of May 22, 2015, this extension can import all revision history from PRCS except file renames. As of May 22, 2015, this extension can import all revision history from a PRCS project except file renames.

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

4. See also


CategoryExtensionsByOthers

ConvertPrcsExtension (last edited 2015-05-23 02:10:43 by KazNishimura)