sapling/eden/scm/edenscm/mercurial
Durham Goode 335988858e ui: fix prompt on Windows
Summary: My recent change accidentally returned early when reading the prompt input, which skipped the \r truncation needed for Windows.

Reviewed By: sfilipco

Differential Revision: D24350672

fbshipit-source-id: 4a589d76bf41cda7fda2518003ef272f9a6ead48
2020-10-15 22:19:38 -07:00
..
cext py3: fix Mononoke Python 3 test failures 2020-09-09 18:31:04 -07:00
cffi suppress errors in eden - batch 1 2020-07-20 13:29:51 -07:00
commands apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
help Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
hgweb python3: Don't access socket.error using an index to get errno 2020-08-25 05:21:11 -07:00
httpclient apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
pure apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
templates template: remove obsfate, instabilities, succsandmarkers 2020-07-02 13:22:28 -07:00
thirdparty remediation of S205607 2020-07-17 17:16:13 -07:00
utils remediation of S205607 2020-07-17 17:16:13 -07:00
__init__.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
ancestor.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
archival.py delete the custom GzipFileWithTime class 2020-03-17 11:07:49 -07:00
autopull.py autopull: do not pull existing commits 2020-10-06 14:32:16 -07:00
bdiff.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
bdiff.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
bitmanipulation.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
blackbox.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00
blobstore.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
bookmarks.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
branchmap.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
bundle2.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
bundlerepo.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
byterange.py fix_map 2020-01-28 18:24:56 -08:00
changegroup.py changegroup: do not calculate how many files received commits include 2020-08-28 13:40:18 -07:00
changelog2.py changelog2: initial support for hybrid commits backend 2020-10-06 19:13:03 -07:00
changelog.py revlog: drop addrevisoncb from addgroup 2020-08-31 11:57:52 -07:00
chgserver.py suppress errors in eden - batch 1 2020-09-28 16:03:43 -07:00
clone.py revlogindex: be Ctrl+C/SIGKILL safe 2020-08-06 12:31:57 -07:00
cmdutil.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
color.py color: do not show EnableVtMode warning if color is set to always 2020-07-02 07:13:23 -07:00
commandserver.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
compat.h Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
config.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
configitems.py dispatch: run command in non-main thread 2020-09-18 18:47:24 -07:00
connectionpool.py connection pool: log remote path 2020-03-11 02:18:06 -07:00
context.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
copies.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
crecord.py py3: fix crecord 'a' and 'r' commands 2020-09-24 11:22:33 -07:00
dagop.py dagop: move cutfunc to walkrevtree 2020-09-25 09:28:30 -07:00
dagparser.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
dagutil.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
debugcommands.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
destutil.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
detectissues.py debugging: Implement "debugdetectissues" command for detecting signs of repository issues 2020-05-19 18:11:29 -07:00
dirstate.py dirstate: block addition of paths containing "." and ".." 2020-08-28 09:42:25 -07:00
dirstateguard.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
discovery.py treediscovery: remove treediscovery 2020-07-30 20:32:30 -07:00
dispatch.py taggederror: introduce category and transience metadata and precedence 2020-10-12 17:17:34 -07:00
drawdag.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
dummycert.pem Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
eden_dirstate_fs.py unicode: skip binary filenames coming from Eden 2020-03-17 09:14:35 -07:00
eden_dirstate_map.py suppress errors in eden - batch 1 2020-07-20 13:29:51 -07:00
eden_dirstate.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
eden_update.py py3: fix checkout with conflicts in eden 2020-07-06 14:07:59 -07:00
edenfs.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
EdenThriftClient.py rename eden.thrift Python module to eden.thrift.legacy 2020-06-10 19:29:42 -07:00
encoding.py py3: support outputing bytes via templater 2020-10-02 07:27:08 -07:00
error.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
exchange.py setdiscovery: reimplement findcommonheads without Python DAG deps 2020-07-30 20:32:30 -07:00
extensions.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
fancyopts.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
filelog.py revlog: add some type annotations 2020-02-03 07:35:32 -08:00
filemerge.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
fileset.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
filesystem.py checkout: disable fetching history during checkout 2020-10-15 11:19:23 -07:00
formatter.py py3: fix test-command-template-t.py 2020-06-24 01:43:35 -07:00
fscap.py fsinfo: recognize EdenFS mounts on Windows 2020-08-12 15:47:49 -07:00
graphmod.py log: add a config to simplify graphs 2020-08-21 17:10:36 -07:00
hbisect.py bisect: make it python3 compatible 2020-04-08 19:08:51 -07:00
help.py py3: fix test-help.t 2020-04-09 18:25:54 -07:00
helptext.py merge: add a config to specify merge tool in interactive mode 2020-10-06 14:32:16 -07:00
hg.py clone: stop using hardlinks for svfs 2020-07-30 20:32:31 -07:00
hintutil.py cmdutil: remove graph-renderer hint 2020-05-20 08:06:21 -07:00
hook.py tracing: replace blackbox.logblocked with tracing events 2020-05-12 10:48:43 -07:00
httpconnection.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
httppeer.py Update pyre version for eden 2020-04-23 12:09:39 -07:00
i18n.py suppress errors in eden - batch 1 2020-09-28 16:03:43 -07:00
identity.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
json.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
keepalive.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
localrepo.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
lock.py lock: print actual lockinfo on error 2020-10-12 11:22:20 -07:00
lsprof.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
lsprofcalltree.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
mail.py check-code: convert to Python 3 2020-05-07 09:07:50 -07:00
manifest.py repoview: further remove repoview references 2020-07-06 14:04:27 -07:00
match.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
mdiff.py suppress errors in eden - batch 1 2020-05-21 19:32:35 -07:00
merge.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
mergeutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
metrics.py metrics: use the hgmetrics bindings for incrementing counters 2020-09-09 17:35:48 -07:00
minirst.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
mpatch.c use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mpatch.h use absolute includes for the native cext modules 2020-02-19 13:05:06 -08:00
mutation.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
namespaces.py remotenames: move namespace to core 2020-03-26 08:26:26 -07:00
node.py node: use binascii.Error in Python3 2020-04-08 23:46:09 -07:00
obsolete.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
obsutil.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
parser.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
patch.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
pathutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
peer.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
perftrace.py tracing: add more trace values 2020-04-22 15:35:17 -07:00
phases.py phases: make public phase calculation more efficient 2020-10-05 14:40:53 -07:00
posix.py util: use Rust pyprocess to implement spawndetached 2020-08-31 17:34:48 -07:00
profiling.py profiling: do not profile debugshell command 2020-08-27 18:14:29 -07:00
progress.py py3: fix prompt being erased by progress 2020-07-16 16:26:33 -07:00
pushkey.py py3: fix pushkey encoding by removing local encoding 2020-01-31 13:12:13 -08:00
pvec.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
pycompat.py py3: fix revlog path encodings 2020-10-09 13:31:58 -07:00
rcutil.py py3: fix test-hint.py 2020-04-08 22:00:35 -07:00
registrar.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
repair.py strip: use Rust strip for testing 2020-07-20 17:27:52 -07:00
replay.py mononoke/hg_sync: make it work on Mercurial Python 3 2020-09-04 11:56:44 -07:00
repository.py remotefilelog: move stream_out wireprotocol to core 2020-05-12 10:23:21 -07:00
revlog.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
revset.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
revsetlang.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
rewriteutil.py format: apply latest Black formatting 2020-05-07 09:07:49 -07:00
scmposix.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
scmutil.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
scmwindows.py typing: enable pyre 2019-12-04 10:55:00 -08:00
server.py util: use Rust pyprocess to implement spawndetached 2020-08-31 17:34:48 -07:00
setdiscovery.py setdiscovery: enforce new discovery logic for rust changelog 2020-08-18 20:43:29 -07:00
similar.py py3: iter{keys,values,items} -> pycompat.iter{keys,values,items} 2020-01-28 16:27:28 -08:00
simplemerge.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
smallcommitmetadata.py debug: Add commit metadata storage and templating for marking stable commits 2020-06-10 19:29:39 -07:00
smartset.py smartset: add iterctx API 2020-10-14 15:09:12 -07:00
sparse.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
sshpeer.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
sshserver.py py3: fix test-bundle2-exchange.t 2020-04-13 15:28:25 -07:00
sslutil.py python3: convert test-url to python3 2020-06-19 15:11:55 -07:00
statprof.py codemod: signal.signal -> util.signal 2020-09-18 13:28:34 -07:00
store.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
streamclone.py verify that received files have the correct size 2020-09-09 11:32:38 -07:00
templatefilters.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
templatekw.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
templatenew.py scmutil: remove meaningfulparents 2020-09-05 15:06:44 -07:00
templater.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
transaction.py transaction: do not remove pending callbacks by default 2020-07-30 20:32:34 -07:00
treedirstate.py i18n: use _x to signal untranslated strings 2020-05-07 09:07:49 -07:00
treestate.py pyre: add stub for "bindings" 2020-01-31 13:18:54 -08:00
txnutil.py Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
types.py py3: add stub for localrepository 2020-02-03 17:07:36 -08:00
ui.py ui: fix prompt on Windows 2020-10-15 22:19:38 -07:00
uiconfig.py extutil: drop runbgcommand 2020-08-31 17:34:49 -07:00
url.py py3: fix test-command-template-t.py 2020-06-24 01:43:35 -07:00
urllibcompat.py pycompat: drop sysbytes, sysstr, strurl, bytesurl 2020-01-31 17:59:53 -08:00
util.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
verify.py changelog: initial support for segmented changelog 2020-08-04 09:59:11 -07:00
vfs.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
visibility.py repo: cache 'headrevs()' 2020-08-26 15:32:24 -07:00
win32.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
windows.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
winutil.py py3: move checkwinfilename() to a separate file and add type hints 2020-01-31 20:18:21 -08:00
wireproto.py apply black 20.8b1 formatting update 2020-10-14 20:21:52 -07:00
worker.py worker: remove the forkers 2020-06-23 18:47:44 -07:00