cli: ensure patch is present in rad-push-and-pull-patches
In some cases, there's a chance for the patch to not have arrived before trying to check it out in the `alice` repo. Ensure that the patch is present by first running `rad sync -f`. Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com> X-Clacks-Overhead: GNU Terry Pratchett
This commit is contained in:
parent
d773659d66
commit
44206cb6ca
|
|
@ -8,6 +8,9 @@ $ git push -o patch.message="Changes" rad HEAD:refs/patches
|
||||||
```
|
```
|
||||||
|
|
||||||
``` ~alice
|
``` ~alice
|
||||||
|
$ rad sync -f
|
||||||
|
✓ Fetching rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji from z6Mkt67…v4N1tRk..
|
||||||
|
✓ Fetched repository from 1 seed(s)
|
||||||
$ git checkout -b alice/1 -q
|
$ git checkout -b alice/1 -q
|
||||||
$ git rev-parse HEAD
|
$ git rev-parse HEAD
|
||||||
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354
|
f2de534b5e81d7c6e2dcaf58c3dd91573c0a0354
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue