RFR: 2084: Add a `/branch` command similar to `/tag` to create a new branch from a commit [v2]
Erik Duveblad
ehelin at openjdk.org
Mon Nov 6 14:27:30 UTC 2023
> 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
Erik Duveblad has updated the pull request incrementally with one additional commit since the last revision:
Reviewer feedback
-------------
Changes:
- all: https://git.openjdk.org/skara/pull/1583/files
- new: https://git.openjdk.org/skara/pull/1583/files/ef36a798..d32d69ba
Webrevs:
- full: https://webrevs.openjdk.org/?repo=skara&pr=1583&range=01
- incr: https://webrevs.openjdk.org/?repo=skara&pr=1583&range=00-01
Stats: 15 lines in 1 file changed: 6 ins; 3 del; 6 mod
Patch: https://git.openjdk.org/skara/pull/1583.diff
Fetch: git fetch https://git.openjdk.org/skara.git pull/1583/head:pull/1583
PR: https://git.openjdk.org/skara/pull/1583
More information about the skara-dev
mailing list