Skip to content

🐛 sl clone silently fails for some repositories #375

@vegerot

Description

@vegerot

image

Background: I am trying to clone https://github.com/cli/cli (in order to build it from source to help debug #350 )

Steps to reproduce:

  1. sl clone git@github.com:cli/cli.git
  2. ls cli

Expected output:

Actual output:

  • nothing 🙈

Other sanity-testing checks:

  • git clone works
  • sl clone another repo works
  • gh repo clone works

versions and configs

  • sl: built from source on 97ec2f9 (sl version reports Sapling 4.4.2)
  • git: 2.39.0
  • gh: 2.21.1
  • os: macOS 13.1 (Ventura)
❯ sl config
alias.commit=commit --verbose
alias.sst=!$HG status && $HG ssl
merge-tools.nvimDiff.args=-d $local $other $base -c 'redraw | echomsg "hg merge conflict, type \":cq\" to abort vimdiff"'
merge-tools.nvimDiff.executable=/usr/local/bin/nvim
merge-tools.nvimDiff.priority=100
ui.editor=nvim
ui.username=Max 👨🏽‍💻 Coplan <mchcopl@gmail.com>
git config --list

credential.helper=osxkeychain
alias.s=!{ git for-each-ref --sort=-committerdate --format='%(refname)' refs/heads/ refs/remotes/$(git remote || printf origin)|sed -e 's-refs/heads/--'| sed -e "s-refs/remotes/$(git remote || printf origin)/--" & printf 'develop
main
master
'; } | uniq | grep -i -m1 --color=never $1 | xargs -I {} sh -c " echo {}; git switch {}"
alias.sf=!git switch $(git for-each-ref --sort=-committerdate --format='%(refname)' refs/heads/ refs/remotes/$(git remote || printf origin)/|sed -e 's-refs/heads/--'| sed -e "s-refs/remotes/$(git remote || printf origin)/--" | uniq | fzf) $@
alias.fr=!git fetch $(git remote | head) && git rebase
alias.frm=!git fetch $(git remote | head) && git rebase $(git remote | head)/main
alias.fru=!git fetch upstream && git rebase upstream/main
alias.cw=commit --fixup=wip
core.pager=${_GIT_CONTRIB:-/usr/local/share/git-core/contrib}/diff-highlight/diff-highlight | $PAGER
color.branch.current=yellow reverse
color.branch.local=yellow
color.branch.remote=green
color.diff.meta=yellow bold
color.diff.frag=magenta bold
color.status.added=green bold
color.status.changed=red bold strike
color.status.untracked=cyan
color.status.branch=yellow bold ul
commit.verbose=true
interactive.difffilter=$_GIT_CONTRIB/diff-highlight/diff-highlight | $PAGER
rebase.instructionformat=(%al) %s
pull.fastforward=true
pull.ff=only
pull.rebase=true
user.email=Max.Coplan@walmart.com
user.name=Max 👨🏽‍💻 Coplan
help.autocorrect=1
url.git@github.com:.insteadof=https://github.com/
❯ gh config list
git_protocol=ssh
editor=
prompt=enabled
pager=
http_unix_socket=
browser=

Please let me know what other info you need 🙂

Happy New Year 🎆 🎊 🎈

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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