radicle-heartwood-lfs/radicle-cli/examples
Fintan Halpenny 48aa725bea
cli: Add `--base` option to `rad patch update`
Allow the CLI user to update a patch's base commit through the `rad
patch update` command.

There was check to see if the head of the branch was the same as the
head of the revision, which would result in the update being skipped.
This was adapted to check that the head *and* the base were the same.

A test was added in the examples to showcase this use.

Signed-off-by: Fintan Halpenny <Fintan Halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2023-12-19 15:00:27 +01:00
..
framework cli-test: Update framework with new features 2023-08-04 12:23:49 +02:00
git cli: Don't sync on git-fetch 2023-12-13 14:47:14 +01:00
workflow cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-auth.md cli: Minor output improvements to `rad auth` 2023-10-11 14:49:37 +02:00
rad-checkout-repo-config-linux.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout-repo-config-macos.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-checkout.md cli: Add canonical remote to `init` and `checkout` 2023-04-24 15:42:00 +02:00
rad-clean.md radicle: remove repo iff there's no local rad/sigrefs 2023-11-30 10:48:14 +01:00
rad-clone-all.md cli: Don't fork on clone 2023-12-13 12:14:06 +01:00
rad-clone-connect.md cli: Don't fork on clone 2023-12-13 12:14:06 +01:00
rad-clone-directory.md cli: allow directory in rad clone 2023-12-14 10:52:04 +01:00
rad-clone-unknown.md node: Rename node `tracking` module 2023-12-06 10:00:45 +01:00
rad-clone.md cli: Don't fork on clone 2023-12-13 12:14:06 +01:00
rad-cob.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-config.md node: Improve flexibility of test environment 2023-12-19 14:15:30 +01:00
rad-diff.md cli: Improve `rad diff` 2023-11-09 13:04:40 +01:00
rad-fetch.md cli: From "tracking" to "seeding" and "following" 2023-12-06 09:56:57 +01:00
rad-fork.md cob: Introduce `xyz.radicle.id` COB 2023-10-12 17:32:33 +02:00
rad-id-conflict.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-id-multi-delegate.md cli: Don't fork on clone 2023-12-13 12:14:06 +01:00
rad-id.md cli: prevent missing delegate being added 2023-11-30 12:20:16 +01:00
rad-init-no-git.md cli: Move `init` errors up so it fails sooner 2023-09-03 17:21:39 +02:00
rad-init-private-clone.md cli: Consolidate policy/scope variants 2023-12-06 09:56:58 +01:00
rad-init-private.md cli: Add tests for `rad publish` 2023-09-05 11:16:09 +02:00
rad-init-sync-not-connected.md cli: Show URL on `rad init` 2023-12-19 14:15:30 +01:00
rad-init-sync-preferred.md cli: Show URL on `rad init` 2023-12-19 14:15:30 +01:00
rad-init-sync-timeout.md cli: Show URL on `rad init` 2023-12-19 14:15:30 +01:00
rad-init-sync.md cli: Show URL on `rad init` 2023-12-19 14:15:30 +01:00
rad-init.md cli: Update tracking without a running node 2023-11-03 17:17:07 +01:00
rad-inspect-noauth.md cli: Improve messaging when config doesn't load 2023-12-13 12:30:11 +01:00
rad-inspect.md cli: Add `rad inspect --sigrefs` command 2023-11-17 16:56:20 +01:00
rad-issue.md cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-merge-after-update.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-merge-no-ff.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-merge-via-push.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-node.md cli: Consolidate policy/scope variants 2023-12-06 09:56:58 +01:00
rad-patch-ahead-behind.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-patch-change-base.md cli: Add `--base` option to `rad patch update` 2023-12-19 15:00:27 +01:00
rad-patch-checkout-force.md cli: Don't sync on git-fetch 2023-12-13 14:47:14 +01:00
rad-patch-checkout-revision.md cli: add revision option to rad patch checkout 2023-11-21 10:19:25 +01:00
rad-patch-checkout.md radicle: UserInfo for Repository::create 2023-11-09 16:43:34 +01:00
rad-patch-draft.md cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-patch-fetch-1.md remote-helper: Fix `FETCH_HEAD` setting on fetch 2023-11-22 11:29:44 +01:00
rad-patch-fetch-2.md remote-helper: Fix `FETCH_HEAD` setting on fetch 2023-11-22 11:29:44 +01:00
rad-patch-pull-update.md cli: Show URL on `rad init` 2023-12-19 14:15:30 +01:00
rad-patch-update.md cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-patch-via-push.md remote-helper: Add hint about updating patch 2023-11-23 11:07:07 +01:00
rad-patch.md cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-publish.md cli: Add tests for `rad publish` 2023-09-05 11:16:09 +02:00
rad-push-and-pull-patches.md cli: Don't sync on git-fetch 2023-12-13 14:47:14 +01:00
rad-remote.md remote-helper: Run sync on `git-fetch` 2023-09-27 12:29:46 +02:00
rad-review-by-hunk.md cli: sync on patch and issue updates 2023-12-19 14:19:55 +01:00
rad-seed-and-follow.md radicle: Rename many more methods using new naming 2023-12-06 10:02:00 +01:00
rad-self.md node: Make node aliases required 2023-07-11 18:08:59 +02:00
rad-sync-without-node.md cli: From "tracking" to "seeding" and "following" 2023-12-06 09:56:57 +01:00
rad-sync.md cli: Improve `rad sync status` output 2023-12-19 14:14:11 +01:00
rad-unseed.md cli: Improve `rad sync status` output 2023-12-19 14:14:11 +01:00
rad-watch.md cli: Add `watch` command 2023-12-11 12:04:26 +01:00