@@ -2517,3 +2517,38 @@ package is provided for users who need to recover @code{tla} repositories and
for historians.")
(home-page "https://www.gnu.org/software/gnu-arch/")
(license license:gpl2))) ;version 2 only
+
+(define-public hg-evolve
+ (package
+ (name "hg-evolve")
+ (version "10.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "hg-evolve" version))
+ (sha256
+ (base32
+ "03kn1c62y6rb851wjhsaxkrwq223hkc4ij59i85999byyb2hyqad"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("mercurial" ,mercurial)))
+ (home-page
+ "https://www.mercurial-scm.org/doc/evolution/")
+ (synopsis
+ "Flexible evolution of Mercurial history")
+ (description
+ "This Mercurial provides faster and safer mutable history. It
+implements the changeset evolution concept for Mercurial.
+
+@enumerate
+@item It offers a safe and simple way to refine changesets locally and
+propagate those changes to other repositories.
+@item It can automatically detect and handle the complex issues that can
+arise from exchanging draft changesets.
+@item It even makes it possible for multiple developers to safely rewrite
+the same parts of history in a distributed way.
+@item It fully respects the Phases concept so users will only be able to
+rewrite parts of the history that are safe to change. Phases have been
+part of Mercurial since early 2012.
+@end enumerate\n")
+ (license license:gpl2+)))