Integrated: 2084: Add a `/branch` command similar to `/tag` to create a new branch from a commit

Erik Duveblad ehelin at openjdk.org
Tue Nov 28 09:39:25 UTC 2023


On Fri, 3 Nov 2023 18:14:07 GMT, Erik Duveblad <ehelin at openjdk.org> wrote:

> Hi all,
> 
> please review this patch that adds a `/branch` commit command. The `/branch` commit command allows an integrator to create a _new_ branch in a repository by adding the comment `/branch <name>` on a commit's web page. The command will check that no branch with the given name exists (i.e. it won't update a branch with that name to that commit).
> 
> The implementation is very similar to the `/tag` command, but I don't think it makes sense to try to share code between them. They are both only around 60 lines of code, so trying to share code won't give us much.
> 
> I also added a couple of new unit tests.
> 
> Thanks,
> Erik

This pull request has now been integrated.

Changeset: 4351119e
Author:    Erik Duveblad <ehelin at openjdk.org>
URL:       https://git.openjdk.org/skara/commit/4351119e13911262bae8790c980a2571e4ee59aa
Stats:     448 lines in 4 files changed: 448 ins; 0 del; 0 mod

2084: Add a `/branch` command similar to `/tag` to create a new branch from a commit

Reviewed-by: erikj, zsong

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

PR: https://git.openjdk.org/skara/pull/1583


More information about the skara-dev mailing list