Skip to content

sl pr unlink does not seem to do anything #940

Description

@zjijz

I was suggested to use sl pr unlink when trying to run sl pr submit when the associated GitHub PR had already been closed. I then attempted that, but it didn't seem to change the sl state at all.

This was on the macOS version installed by brew.

% sl version
Sapling 0.2.20240718-145624+f4e9df48
(see https://sapling-scm.com/ for more information)

This was the latest version available through brew (previously called brew upgrade sapling).

sl, sl pr unlink, sl (on the base commit bcc265a08):

% sl
  o  993234c71  15 minutes ago  greg
  │  xtask: Convert structopt to using clap
  │
  @  bcc265a08  15 minutes ago  greg  #13
╭─╯  Update .committemplate to repo
│
o  753ebd9e9  26 minutes ago  remote/main
% sl pr unlink
% sl  
  o  993234c71  15 minutes ago  greg
  │  xtask: Convert structopt to using clap
  │
  @  bcc265a08  15 minutes ago  greg  #13
╭─╯  Update .committemplate to repo
│
o  753ebd9e9  26 minutes ago  remote/main

sl pr submit still fails after this with the same error as before and offers the same guidance to use sl pr unlink.

I tried installing sl from brew at --HEAD, but that version is giving me issues:

% sl
unknown python exception%    

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions