The sound distributed version control system

#607 [CRASH, PULL] can not pull tag

Closed on January 5, 2022
tankf33der on January 2, 2022
$ pijul init p1
$ pijul clone p1 p2
$ cd p1
$ touch a
$ pijul add a
$ pijul record -am"."
Hash: SXSNMJE4FYQTM4J5O3HXDQ4EJOLKXBIUCF3IIWO3HNVJ62AMGZMAC
$ pijul tag create -m"p1"
KL44555FXBHAJ3DL7FMSMQVT5B5LRL3VLVZBSD3XBMGXY367ORIQC
$ cd ../p2
$ pijul pull --tag
Downloading changes [=================================>                ] 2/3   
Error: No such file or directory (os error 2)
$ pijul tag
# EMPTY
$ pijul pull -a
Downloading changes [>                                                ] 0/3  
           Applying [==================================================] 3/3   
 Completing changes [                                                 ] 0/0  
# CRASH
$ 
tankf33der on January 2, 2022
$ cat /tmp/report-abd4f359-8daf-4027-afb0-3f80cb7b91e3.toml
name = 'pijul'
operating_system = 'unix:Manjaro'
crate_version = '1.0.0-alpha.57'
explanation = '''
Panic occurred in file 'pijul/src/remote/mod.rs' at line 1306
'''
cause = 'internal error: entered unreachable code'
method = 'Panic'
backtrace = '''

   0: 0x6145e93a715d - core::panicking::panic::h0ba7146865b2f9d6
                at /rustc/f1edd0429582dd29cccacaf50fd134b05593bd9c/library/core/src/panicking.rs:50
   1: 0x6145e9478004 - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::h25e921337c95e13a
   2: 0x6145e94987b9 - pijul::commands::pushpull::Pull::run::{{closure}}::hb09281a5bc8cf739
   3: 0x6145e94bbf79 - pijul::run::{{closure}}::h0b49e81123c6bc9f
   4: 0x6145e9485fdd - <core::future::from_generator::GenFuture<T> as core::future::future::Future>::poll::hb3cd9799bd7b118d
   5: 0x6145e9625818 - tokio::park::thread::CachedParkThread::block_on::hf0284c2f4f353550
   6: 0x6145e967448d - tokio::runtime::thread_pool::ThreadPool::block_on::hf970dff468f596d1
   7: 0x6145e945f310 - tokio::runtime::Runtime::block_on::h1d7136cc10d65d0d
   8: 0x6145e9562d7e - pijul::main::hf2662d764e6f4806
   9: 0x6145e96113d3 - std::sys_common::backtrace::__rust_begin_short_backtrace::h35b9e3774001d03a
  10: 0x6145e9440d29 - std::rt::lang_start::{{closure}}::hd32206b116d0ba17
  11: 0x6145e9c42b1b - 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
  12: 0x6145e9562ec2 - main
  13: 0xda2410b7b25 - __libc_start_main
  14: 0x6145e93a79ee - _start
  15:        0x0 - <unresolved>'''
$
pmeunier added a change on January 5, 2022
ZWVYH7WPYOGDKWODFSAJ6R5U64DON2AVVJ2XZJKHAOMLJEFTYF3QC
main
pmeunier on January 5, 2022

Thanks!

pmeunier closed this discussion on January 5, 2022
tankf33der on January 5, 2022

i don see this record

pmeunier on January 5, 2022

Indeed, it wasn’t in main. Next time this happens, pijul pull --from-channel :607 should work.