Skip to main content

EditRCS is a library to with functions to read RCS files into Python classes Rcs and RcsDelta, and to manipulate them and write them to a new RCS file.

It is intended to be used to manipulate RCS files in ways that the RCS tools don’t support, but it requires some knowledge of how RCS files work rather than being a polished command-line tool.

See rcsfile(5) for RCS file format definition.

Example scripts in the examples directory include:

checkout_start: print the earliest version of a RCS file to standard output.

rcs_join: produce an RCS file with the history of one file followed by that of a second file.

rename_user: replace an old user name with a new one for each revision checked in by that user.

pivot_branch: given a branch head and a first-level branch head off that, swap the sub-branch and the main branch.

Limitations: I’m going with the 5.9.2 version of the manpage, and ignoring the newphrase in the earlier (e.g. 5.6) specifications for now. It is written to be simple rather than optimised for speed or space.

INSTALLATION

To install as a Python module run:

python -m pip install /path/to/editrcs

Metadata

Release files for editrcs 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for editrcs 0.5.3
File Size Uploaded
editrcs-0.5.3.tar.gz 24.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for editrcs 0.5.3
File Interpreter ABI Platform
editrcs-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 47.7 kB

Release files / editrcs-0.5.3.tar.gz

Download URL editrcs-0.5.3.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
971c20be2b4af3475a9a8067e8f6abfdc22f4dbbf95ddfb773750ddb44016502
BLAKE2b-256 checksum
How to use checksums
8d49713a876db706703ab3aaaa63489a9bf538061972eedba6c4827e9e8e4858
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.9 tqdm/4.19.5 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

Release files / editrcs-0.5.3-py3-none-any.whl

Download URL editrcs-0.5.3-py3-none-any.whl
Size 22.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2ffa72646ee7c28ae52a51346408501d15407137286f3eeea2ca5bb1bfda0b4a
BLAKE2b-256 checksum
How to use checksums
4b0c9b2200c526328bde0dc55da73586b9122c62860e17d087a1c3bad5a7703b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.8.0 urllib3/1.26.9 tqdm/4.19.5 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

0.5.2

2 release files

0.5.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page