facebook / sapling

A Scalable, User-Friendly Source Control System.
https://sapling-scm.com
GNU General Public License v2.0
6.14k stars 282 forks source link

`sl pr submit` fails with 500 from remote #536

Open banool opened 1 year ago

banool commented 1 year ago

So this is the error I'm seeing:

$ sl --verbose pr submit
pushing 1 to https://github.com/aptos-labs/aptos-core.git
abort: `git --git-dir /Users/dport/a/core/.sl/store/git push --force https://github.com/aptos-labs/aptos-core.git e628976f3eda5deb19262a1b09868badb2bf794e:refs/heads/pr6746` failed with exit code 1: stdout:
stderr: error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date

It doesn't seem like --verbose adds much, just that line about the 500. There doesn't seem to be a "FB standard" sl rage command either, like there is for hg / arc (last I remember). So please let me know how I can provide more info.

As it is now I can't seem to find any workaround for this. For context, this is my first time trying to push a PR using sapling. As far as I can tell I followed the installation and setup correctly.

Sapling version:

$ sl version
Sapling 0.2.20230124-180750
muirdm commented 1 year ago

Looking at this stackoverflow post, are you trying to push very large files by chance?

Can you try it again setting these env vars: CHGDISABLE=1 GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_CURL_VERBOSE=1 sl --verbose pr submit ?