[Integrated] RFR: trees: add treconfigure command

Erik Helin ehelin at openjdk.java.net
Tue Apr 28 14:58:32 UTC 2020


On Tue, 28 Apr 2020 13:51:55 GMT, Erik Helin <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this patch that adds the `hg/git treconfigure` command. The
> `treconfigure` can be used to re-initialize the trees configuration for a set of
> repositories. This is useful when a user has, either by mistake or on purpose,
> renamed and/or moved a repository in a "forest".
> 
> _Note_: the existing `trees.py` extension offered the command `hg tconfig`, but
> that command clashes with the `config` command present in both `hg` and `git` (a
> user can't run the command `config` in all repositories in a "forest"). For the
> Skara port of `trees.py` I opted to instead provide the `treconfigure` command
> to avoid name clashes.
> 
> Testing:
> - Manual testing of `git treconfigure` and `hg treconfigure`
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 735d0a6c
Author:    Erik Helin <ehelin at openjdk.org>
URL:       https://git.openjdk.java.net/skara/commit/735d0a6c
Stats:     60 lines in 3 files changed: 1 ins; 56 del; 3 mod

trees: add treconfigure command

Reviewed-by: rwestberg

-------------

PR: https://git.openjdk.java.net/skara/pull/612


More information about the skara-dev mailing list