Commit Graph

3412 Commits

Author SHA1 Message Date
Durham Goode
03e6061480 Prevent server from sending filelogs during pull 2013-05-06 17:42:50 -07:00
Durham Goode
114aa24676 remotefilelog fetch files from server during update 2013-05-06 17:38:59 -07:00
Durham Goode
a24460ffe0 remotefilelog enable shallow cloning 2013-05-06 17:35:59 -07:00
Durham Goode
390895725b remotefilelog enable getfiles command on server 2013-05-06 17:26:27 -07:00
Durham Goode
51a7535795 remoterevlog bundling 2013-05-06 17:09:42 -07:00
Durham Goode
83b10bdf13 remoterevlog add revisions 2013-05-06 17:09:01 -07:00
Durham Goode
8793c18b01 remotefilelog: remoterevlog basic implementation and read apis
Summary:
This creates a revlog implementation that stores all of it's data
as key/value pairs remotely. Each revlog entry is stored as "p1 + p2 + text"
and is cached in the fileserverclient.cachepath path. Any entries that are
local only are stored in .hg/store/localdata. The fileserverclient is used
to fetch any remote entries that are not in the cache.

Future commits will add support for adding revisions, adding groups from a
bundle, and creating groups for a bundle.

Mercurial currently uses '.hgtags' in a special way, so I've hardcoded a hack
there for now.

Test Plan: N/A

Reviewers: bryano, sid0, mpm, dschleimer

Differential Revision: https://phabricator.fb.com/D802534

Task ID: 2370049
2013-05-06 17:08:10 -07:00
Durham Goode
18a97db027 fileserverclient statistics 2013-05-06 16:59:05 -07:00
Durham Goode
9e48b089fd fileserverclient progress reporting 2013-05-06 16:51:48 -07:00
Durham Goode
3029f1520a fileserverclient prefetch 2013-05-06 16:49:55 -07:00
Durham Goode
0ea98dc851 remotefilelog: create initial fileserverclient
Summary:
This is the first in a series of diffs that create a remote filelog
extension. There are about 15 diff's in the series, so I might send some out in
parallel. I don't expect the current diffs to be perfect, so this is more
for distributing knowledge about the code than it is for code review. The commits
will go in a bitbucket repo.

This commit creates the fileserverclient that allows the extension to request
file contents from the server (the file server, not the hg server).

Future commits will add progress reporting, a smarter fetch api, and debug
statistics.

Test Plan: N/A

Reviewers: bryano, sid0, mpm, dschleimer

Differential Revision: https://phabricator.fb.com/D802515

Task ID: 2370049
2013-05-06 16:44:04 -07:00
Durham Goode
c13fb9b584 Initial .hgignore and .arcconfig 2013-05-06 15:54:49 -07:00