The sound distributed version control system

#715 Set record descriptions from the command line.

Opened by JSDurand on September 23, 2022
JSDurand on September 23, 2022

A record can contain a description and a message, but the user currently cannot set the description from command line.

So I write a simple patch to add this functionality.

It will make integration with editors easier I think, since when writing commit messages in editors, not triggered by pijul record, the user usually writes a summary line followed by detailed descriptions. With this feature, the editor can separate the title from the descriptions and feed them separately to pijul.

In the above, when I speak about editor, I think of Emacs. In fact, I am trying to implement Emacs VC support for pijul. The Nest repository is here.

What do you think?

JSDurand added a change on September 23, 2022
sellout on September 27, 2022

I would also like to see this, and I hate to say it, but I was also looking for a vc-pijul, couldn’t find one, and started to write one. However, I’ve started by forking vc-darcs, since there are a lot of similarities. My code is also on The Nest – perhaps we should try to work together on pushing this forward?

JSDurand on September 27, 2022

I have read your codes. They are more complete than mine. Glad to know that there are other people interested in Emacs VC support for pijul as well. :)

I would like to cooperate. But right now I found my patched pijul unable to clone: when I run pijul clone it gives an error

Error: error decoding response body: invalid type: integer 1663912132, expected a formatted date and time string or a unix timestamp at line 13 column 33

I will try to find out why that happens, before I can clone your repository. (I just read your codes in the browser.)

sellout on September 27, 2022

Yeah, and your code looks much more like what I’d like – very clean and organized. Nest doesn’t offer a great way to move things OOB, so my email is Then we can leave this discussion to its purpose 😄