RFR: trees: add treconfigure command

Robin Westberg rwestberg at openjdk.java.net
Tue Apr 28 14:17:42 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

Très bien!


Marked as reviewed by rwestberg (Reviewer).

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

More information about the skara-dev mailing list