update pijul from git.
Project description
git-pijul
update pijul from git.
install
pip install git-pijul
usage
Usage: git-pijul [OPTIONS] COMMAND [ARGS]...
Options:
--help Show this message and exit.
Commands:
create create a new pijul repository
shallow create a new pijul repository from current revision without...
update update a repository created with git-pijul
git-pijul create
finds an ancestry-path with git rev-list --ancestry-path --no-merges --topo-order
. It will then checkout each revision into a temp
directory and add it to pijul. Non-linear history is dropped. The last
revision/patchset will be forked into a channel.
git-pijul update
finds in git the shortest path from the current git-revision
to a existing channel and updates pijul from that channel.
git-pijul shallow
create a new pijul repository from current revision without
history.
example
$> git clone https://github.com/ganwell/git-pijul
Cloning into 'git-pijul'...
remote: Enumerating objects: 49, done.
remote: Counting objects: 100% (49/49), done.
remote: Compressing objects: 100% (22/22), done.
remote: Total 49 (delta 24), reused 49 (delta 24), pack-reused 0
Receiving objects: 100% (49/49), 44.34 KiB | 1.93 MiB/s, done.
Resolving deltas: 100% (24/24), done.
$> cd git-pijul
$> git pijul create
Using head: 3fe9285acbb319959d9bea85abf1f10ae38e4a05 (master)
Using base: b215e32b5d60eb19a0676a2b9072ac7a352e1c50 ('--root')
100%|███████████████████████████████████████████████| 10/10 [00:01<00:00, 9.75it/s]
$> pijul channel
* 3fe9285acbb319959d9bea85abf1f10ae38e4a05
main
$> git pull
Updating 3fe9285..114b52f
Fast-forward
README.md | 4 ++++
git_pijul.py | 58 ++++++++++++++++++++++++++++++++++------------------------
2 files changed, 38 insertions(+), 24 deletions(-)
create mode 100644 README.md
$> git pijul update
Using head: 114b52f953f397b1d025eced6ce6646a5a6c4662 (master)
Using base from previous update: 3fe9285acbb319959d9bea85abf1f10ae38e4a05
100%|███████████████████████████████████████████████| 1/1 [00:00<00:00, 4.12it/s]
$> pijul channel
* 114b52f953f397b1d025eced6ce6646a5a6c4662
3fe9285acbb319959d9bea85abf1f10ae38e4a05
main
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
git-pijul-0.2.0.tar.gz
(17.0 kB
view hashes)
Built Distribution
git_pijul-0.2.0-py3-none-any.whl
(16.9 kB
view hashes)
Close
Hashes for git_pijul-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174b0ed88b1802dbf7475144d9aaa913043a9c927a6b38a3603656277c9de2f4 |
|
MD5 | 743eb329d27fd9ac19cbf78bb1367c00 |
|
BLAKE2b-256 | 9d6bc342c91774bfb0681e860bfd139c239796a046665ec281c23915a0cfb095 |