pijul changes

List all the patches in a branch

Usage

pijul log [-h | --help] [-V | --version] [ --hash-only ] [ --internal-id <internal-id>… ] [--repository <repository>] [--branch <branch>] [--grep <regex>]

Description

Prints the list of all patches applied to branch <branch> if --branch is present, or to the current branch else. The patches are printed in the reverse order in which they were applied to the branch, and the information printed includes patch hashes, internal identifiers, among others.

If desired, a restricted subset of the changes, specified by --internal-id, can be listed. Here, <internal-id> is a list of internal patch identifiers, where an internal patch identifier is of the form tp4Jz1j2PEY.

--hash-only prints a list of patches in a machine-readable format, to be exchanged when comparing patchsets between repositories.

Example

From the repository root:

pijul changes

Options

  • -h, --help

    Print a help message and exit.

  • -V, --version

    Print the version of Pijul and exit.

  • --repository <repository>

    Don't run this command in the current directory, run it in <repository> instead.

  • --branch <branch>

    Print changes on branch <branch> instead of the current branch.

  • --hash-only

    Print the changes in binary format. This option is essentially meant to be used when calling this command remotely over SSH.

  • --internal-id <internal-id>…

    Restrict the list to the set of patches specified by <internal-id>. One could for example run

    pijul changes --internal-id EuTRmk0mzNk tp4Jz1j2PEY
    
  • --grep <regex>

    Select only patches matching the supplied regular expression (may appear several times).