5MRZLKBHOFFUAJELWL34XILG2XVWPUEHOFPDXBK5ASCO6H26MBFAC
5SCFAC4I7WQGP6WR3ZJFJ3CQCKX57FRVYKP3HPIJPIGJGDNTQJSAC
CQ3FIUY4HDRAI3EQWJ7D5VHLC4EBO2LHWVRHX56XA6LRGEKP63EAC
Thanks! Even though the tag format is pretty stable now, the handling of tags over the network is still WIP. I have the full design ready, I’m now working on the implementation.
I can not pull patches right now. I hope this is ok.
This is duplicate of this issue but logically path steps are different.
I open this issue back until get patches.
$ pijul init p1
$ cd p1
$ touch a
$ pijul add a
$ pijul record -am"."
Hash: QNE3PY6UCU5O5WGXRD6L7ICBOTDMUM5YSHDIRFTJATQH72ATBZ5QC
$ pijul unrecord --reset QN
$ pijul tag create -m"."
IGBTRONJA5EF6WY5PSC3UR47YFP3YBEM4B7PYBPA5KZ37A7IWTTAC
$ pijul tag checkout IGBTRONJA5EF6WY5PSC3UR47YFP3YBEM4B7PYBPA5KZ37A7IWTTAC
$ pijul channel switch IGBTRONJA5EF6WY5PSC3UR47YFP3YBEM4B7PYBPA5KZ37A7IWTTAC
$ pijul tag
<CRASH>
$ cat /tmp/report-c9800b96-3bae-4376-9bbc-65dd454749a4.toml
name = 'pijul'
operating_system = 'unix:Manjaro'
crate_version = '1.0.0-alpha.56'
explanation = '''
Panic occurred in file 'pijul/src/commands/tag.rs' at line 197
'''
cause = 'called `Option::unwrap()` on a `None` value'
method = 'Panic'
backtrace = '''
0: 0x641f9f1c74cd - core::panicking::panic::h0ba7146865b2f9d6
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:50
1: 0x641f9f378c67 - pijul::commands::tag::Tag::run::h8a002b9e7be71d57
2: 0x641f9f2caed2 - pijul::run::{{closure}}::h7d1f407d9235901c
3: 0x641f9f299aed - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h5cb1583d5d1f9b3f
4: 0x641f9f448b98 - tokio::park::thread::CachedParkThread::block_on::h34b459f1b7cdc330
5: 0x641f9f48b6ad - tokio::runtime::thread_pool::ThreadPool::block_on::h6700890f26292ee2
6: 0x641f9f24ed80 - tokio::runtime::Runtime::block_on::h7b5e36df5e06b157
7: 0x641f9f3139de - pijul::main::he2023f79e6fe8bb7
8: 0x641f9f403fc3 - std::sys_common::backtrace::__rust_begin_short_backtrace::he610b21830c099ac
9: 0x641f9f4b77f9 - std::rt::lang_start::{{closure}}::hde9e530110b16615
10: 0x641f9fa556db - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hc56adab7a77ec6e3
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/ops/function.rs:259
- std::panicking::try::do_call::h29f013120c5abc65
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403
- std::panicking::try::h86d5b2b66caec4cf
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367
- std::panic::catch_unwind::h7dd136d787f51397
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133
- std::rt::lang_start_internal::{{closure}}::h4a199351e630a8a5
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:128
- std::panicking::try::do_call::h20ceb9e5dff838c6
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:403
- std::panicking::try::hc2abb46a5e41bd43
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panicking.rs:367
- std::panic::catch_unwind::h52c3eb4408ad6dfb
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/panic.rs:133
- std::rt::lang_start_internal::hd15a47be08101c28
at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/std/src/rt.rs:128
11: 0x641f9f313b22 - main
12: 0xaad9ffc5b25 - __libc_start_main
13: 0x641f9f1c7d5e - _start
14: 0x0 - <unresolved>'''
$
I can no longer reproduce the original nor the duplicate with the current Pijul, so I’ll close. As always, feel free to reopen if this is still an issue.
confirmed as fixed.