mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
98d9269874
Summary: Create a fork of the Mercurial code that we can use to build server rpms. The hg servers will continue to exist for a few more months while we move the darkstorm and ediscovery use cases off them. In the mean time, we want to start making breaking changes to the client, so let's create a stable copy of the hg code to produce rpms for the hg servers. The fork is based off c7770c78d, the latest hg release. This copies the files as is, then adds some minor tweaks to get it to build: - Disables some lint checks that appear to be bypassed by path - sed replace eden/scm with eden/hg-server - Removed a dependency on scm/telemetry from the edenfs-client tests since scm/telemetry pulls in the original eden/scm/lib/configparser which conflicts with the hg-server conflict parser. allow-large-files Reviewed By: quark-zju Differential Revision: D27632557 fbshipit-source-id: b2f442f4ec000ea08e4d62de068750832198e1f4
61 lines
2.9 KiB
Perl
61 lines
2.9 KiB
Perl
#require no-fsmonitor
|
|
|
|
$ setconfig tracing.threshold=0
|
|
$ newrepo
|
|
$ drawdag << 'EOS'
|
|
> C
|
|
> |
|
|
> B
|
|
> |
|
|
> A
|
|
> EOS
|
|
|
|
$ TRACING_DATA_FAKE_CLOCK=5000 hg up $C --config tracing.stderr=True 2> trace
|
|
3 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
|
$ sed 's/line [0-9]*$/_/' trace
|
|
Process _ Thread _:
|
|
Start Dur.ms | Name Source
|
|
5 ... | Run Command hgcommands::run _
|
|
| - pid = 0 :
|
|
| - uid = 0 :
|
|
| - nice = 0 :
|
|
| - args = ["hg","up","26805aba1e600a82e9... :
|
|
| - parent_pids = [] :
|
|
| - parent_names = [] :
|
|
| - version = *... : (glob)
|
|
| - exit_code = 0 :
|
|
| - max_rss = 0 :
|
|
10 +5 \ Initialize Python hgcommands::hgpython _
|
|
20 +5 \ import edenscm hgcommands::hgpython _
|
|
|
|
Process _ Thread _:
|
|
Start Dur.ms | Name Source
|
|
30 +155 | Main Python Command (perftrace)
|
|
35 +5 \ Repo Setup edenscm.mercurial.hg line _
|
|
| - local = true :
|
|
45 +135 \ Update edenscm.mercurial.util line _
|
|
50 +125 | Timed Function: mergeupdate edenscm.mercurial.merge line _
|
|
55 +35 \ Status edenscm.mercurial.dirstate line _
|
|
| - A/M/R Files = 0 :
|
|
60 +5 \ Timed Function: fswalk edenscm.mercurial.filesystem line _
|
|
70 +5 \ _rustwalk.next (generator)
|
|
80 +5 \ _rustwalk.next (generator)
|
|
95 +35 \ Progress Bar: calculating (progressbar)
|
|
100 +25 | Calculate Updates edenscm.mercurial.merge line _
|
|
105 +5 \ Manifest Diff (perftrace)
|
|
| - Differences = 3 :
|
|
| - Tree Fetches = 0 :
|
|
115 +5 \ Check Unknown Files edenscm.mercurial.merge line _
|
|
135 +25 \ Apply Updates edenscm.mercurial.util line _
|
|
| - Actions = 3 :
|
|
| - Disk Writes = 3 :
|
|
| - Deleted Files = 0 :
|
|
| - Written Files = 3 :
|
|
140 +15 | Timed Function: applyupdates edenscm.mercurial.merge line _
|
|
145 +5 | Progress Bar: updating (progressbar)
|
|
| - total = 3 :
|
|
165 +5 \ Progress Bar: recording (progressbar)
|
|
| - total = 3 :
|
|
|
|
|