sapling/hgext
Jun Wu 30ed418d5d remotefilelog: do not write duplicated paths to the repos file
Summary:
The `repos` file contains paths to repos so `hg gc` can scan them. The
current implementation basically writes a line per `hg pull`, and `repos`
can grow unbounded. Let's do a check before appending to that file.

Reviewed By: ryanmce

Differential Revision: D8416210

fbshipit-source-id: 0624bfbd6eb7d71dd749626e96063cb10f55bb7f
2018-06-20 13:09:43 -07:00
..
absorb Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
commitcloud commitcloud: don't take wlock when storing commit cloud state 2018-06-20 12:50:12 -07:00
convert Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
extlib datapackstore: use C++11-compatible chrono code 2018-06-14 06:23:26 -07:00
fastannotate Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastmanifest fix tests after reformat 2018-05-30 13:47:50 -07:00
fbamend switch to use command-wide template 2018-06-12 08:06:12 -07:00
fsmonitor watchman: log state changes for treestate 2018-06-18 12:49:34 -07:00
hgevents Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hggit Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hgsubversion rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
highlight Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
infinitepush infinitepush: make listbookmarks work on Windows servers 2018-06-20 11:05:38 -07:00
lfs Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
p4fastimport Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
perfsuite Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remotefilelog remotefilelog: do not write duplicated paths to the repos file 2018-06-20 13:09:43 -07:00
repogenerator repogenerator: allow starting rev to be configured 2018-05-31 12:33:26 -07:00
treemanifest treemanifest: fix backfilling when there are local-only public heads 2018-06-20 09:50:55 -07:00
zeroconf Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
__init__.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
acl.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
age.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
amend.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
arcdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
automv.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
backups.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
blackbox.py blackbox: be graceful when the log message cannot be formatted 2018-06-11 17:36:15 -07:00
bugzilla.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
bundle2hooks.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
catnotate.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
censor.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
checkmessagehook.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
children.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
chistedit.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
churn.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
cleanobsstore.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
clienttelemetry.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
clindex.pyx chg: drop "sensitive config sections" 2018-05-08 17:02:22 -07:00
clonebundles.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
commitextras.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
configwarn.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
conflictinfo.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
copytrace.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
crdump.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
debugcommitmessage.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
debuginhibit.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
debugshell.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dialect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
directaccess.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
dirsync.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
drop.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
edrecord.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
eol.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
errorredirect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
extdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
extorder.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
extutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
factotum.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
fastpartialmatch.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fbconduit.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fbhistedit.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
fbshow.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fbsparse.py improve sparse extension error handling when used with eden 2018-06-08 14:51:54 -07:00
fetch.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
fixcorrupt.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
generic_bisect.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
githelp.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
gitlookup.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
gitrevset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
gpg.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
graphlog.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
grepdiff.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
grpcheck.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
hgk.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
hgsql.py expose a method for checking if hgsql is bypassed 2018-06-15 10:37:26 -07:00
hiddenerror.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
histedit.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
infinitepushbackup.py commitcloud add running time for the background cloud sync 2018-06-18 11:08:02 -07:00
inhibit.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
inhibitwarn.py fb-hgext: move most of hgext3rd and related tests to core 2018-01-09 03:03:59 -08:00
interactiveui.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
journal.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
linkrevcache.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
logginghelper.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
logtoprocess.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
lz4revlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
mergedriver.py rebase: invalidate old mergedriver preprocess during IMM restart 2018-06-17 23:19:32 -07:00
morecolors.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
morestatus.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
mq.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
myparent.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
nointerrupt.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
notify.py Update to 18.6b1 2018-06-05 22:19:55 -07:00
obsshelve.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
ownercheck.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
pager.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
patchbomb.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
patchrmdir.pyx patchrmdir: move to hgext 2018-01-08 19:25:13 -08:00
perftweaks.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
phabdiff.py add template for fetching reviewers 2018-06-12 20:48:50 -07:00
phabstatus.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
phrevset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
progressfile.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
pullcreatemarkers.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
purge.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
pushrebase.py move the logic for committing to a separate method 2018-06-15 10:37:26 -07:00
rage.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
rebase.py rebase: add :abort merge tool 2018-06-19 20:21:26 -07:00
record.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
releasenotes.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
relink.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remoteid.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
remotenames.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
reset.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sampling.py sampling: run @atexitr handlers in a try/catch, log if failure 2018-06-12 13:22:23 -07:00
schemes.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
share.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
shareutil.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
shelve.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
show.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sigtrace.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
simplecache.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
smartlog.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
sparse.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
sshaskpass.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
stat.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
strip.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
traceprof.pyx hg: basic support for building hg using buck 2018-04-13 21:50:58 -07:00
transplant.py Upgrade to 18.5b1 2018-05-30 02:23:58 -07:00
treedirstate.py treestate: implement gc 2018-06-18 10:40:08 -07:00
tweakdefaults.py rebase: use command-level template (BC) 2018-06-06 15:43:25 -07:00
uncommit.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
undo.py undo: disallow interactive undo on Windows 2018-06-14 05:14:09 -07:00
upgradegeneraldelta.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
whereami.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
win32mbcs.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00
win32text.py codemod: join the auto-formatter party 2018-05-25 22:17:29 -07:00