UNPKG

atom-nuclide

Version:

A unified developer experience for web and mobile development, built as a suite of features on top of Atom to provide hackability and the support of an active community.

1,815 lines (1,812 loc) 105 kB
"use strict"; let Observable, trackOperationTiming; module.exports = _client => { const remoteModule = {}; remoteModule.HgService = class { constructor(arg0) { _client.createRemoteObject("HgService", this, [arg0], [{ name: "workingDirectory", type: { location: { type: "source", fileName: "HgService.js", line: 216 }, kind: "string" } }]) } waitForWatchmanSubscriptions() { return trackOperationTiming("HgService.waitForWatchmanSubscriptions", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "waitForWatchmanSubscriptions", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 237 }, kind: "void" }); }); }); } fetchStatuses(arg0, arg1) { return trackOperationTiming("HgService.fetchStatuses", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 271 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 271 }, kind: "named", name: "NuclideUri" } } }, { name: "options", type: { location: { type: "source", fileName: "HgService.js", line: 272 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 272 }, kind: "any" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchStatuses", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 273 }, kind: "map", keyType: { location: { type: "source", fileName: "HgService.js", line: 273 }, kind: "named", name: "NuclideUri" }, valueType: { location: { type: "source", fileName: "HgService.js", line: 273 }, kind: "named", name: "StatusCodeIdValue" } }); }); }); } observeFilesDidChange() { return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "observeFilesDidChange", "observable", args); }); })).concatMap(id => id).concatMap(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 466 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 466 }, kind: "named", name: "NuclideUri" } }); }).publish(); } observeHgRepoStateDidChange() { return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "observeHgRepoStateDidChange", "observable", args); }); })).concatMap(id => id).concatMap(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 474 }, kind: "void" }); }).publish(); } observeHgConflictStateDidChange() { return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "observeHgConflictStateDidChange", "observable", args); }); })).concatMap(id => id).concatMap(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 481 }, kind: "boolean" }); }).publish(); } fetchDiffInfo(arg0) { return trackOperationTiming("HgService.fetchDiffInfo", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "named", name: "NuclideUri" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchDiffInfo", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "map", keyType: { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "named", name: "NuclideUri" }, valueType: { location: { type: "source", fileName: "HgService.js", line: 494 }, kind: "named", name: "DiffInfo" } } }); }); }); } createBookmark(arg0, arg1) { return trackOperationTiming("HgService.createBookmark", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "name", type: { location: { type: "source", fileName: "HgService.js", line: 526 }, kind: "string" } }, { name: "revision", type: { location: { type: "source", fileName: "HgService.js", line: 526 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 526 }, kind: "string" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "createBookmark", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 526 }, kind: "void" }); }); }); } deleteBookmark(arg0) { return trackOperationTiming("HgService.deleteBookmark", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "name", type: { location: { type: "source", fileName: "HgService.js", line: 536 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "deleteBookmark", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 536 }, kind: "void" }); }); }); } renameBookmark(arg0, arg1) { return trackOperationTiming("HgService.renameBookmark", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "name", type: { location: { type: "source", fileName: "HgService.js", line: 540 }, kind: "string" } }, { name: "nextName", type: { location: { type: "source", fileName: "HgService.js", line: 540 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "renameBookmark", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 540 }, kind: "void" }); }); }); } fetchActiveBookmark() { return trackOperationTiming("HgService.fetchActiveBookmark", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchActiveBookmark", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 547 }, kind: "string" }); }); }); } fetchBookmarks() { return trackOperationTiming("HgService.fetchBookmarks", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchBookmarks", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 554 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 554 }, kind: "named", name: "BookmarkInfo" } }); }); }); } observeActiveBookmarkDidChange() { return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "observeActiveBookmarkDidChange", "observable", args); }); })).concatMap(id => id).concatMap(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 574 }, kind: "void" }); }).publish(); } observeBookmarksDidChange() { return Observable.fromPromise(_client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "observeBookmarksDidChange", "observable", args); }); })).concatMap(id => id).concatMap(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 581 }, kind: "void" }); }).publish(); } fetchFileContentAtRevision(arg0, arg1) { return trackOperationTiming("HgService.fetchFileContentAtRevision", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePath", type: { location: { type: "source", fileName: "HgService.js", line: 594 }, kind: "named", name: "NuclideUri" } }, { name: "revision", type: { location: { type: "source", fileName: "HgService.js", line: 594 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 594 }, kind: "string" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchFileContentAtRevision", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 594 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 594 }, kind: "string" } }); }); }); } fetchFilesChangedAtRevision(arg0) { return trackOperationTiming("HgService.fetchFilesChangedAtRevision", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "revision", type: { location: { type: "source", fileName: "HgService.js", line: 598 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchFilesChangedAtRevision", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 598 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 598 }, kind: "named", name: "RevisionFileChanges" } }); }); }); } fetchRevisionInfoBetweenHeadAndBase() { return trackOperationTiming("HgService.fetchRevisionInfoBetweenHeadAndBase", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchRevisionInfoBetweenHeadAndBase", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 608 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 608 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 608 }, kind: "named", name: "RevisionInfo" } } }); }); }); } getBaseRevision() { return trackOperationTiming("HgService.getBaseRevision", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getBaseRevision", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 621 }, kind: "named", name: "RevisionInfo" }); }); }); } getBlameAtHead(arg0) { return trackOperationTiming("HgService.getBlameAtHead", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePath", type: { location: { type: "source", fileName: "HgService.js", line: 638 }, kind: "named", name: "NuclideUri" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getBlameAtHead", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 638 }, kind: "map", keyType: { location: { type: "source", fileName: "HgService.js", line: 638 }, kind: "string" }, valueType: { location: { type: "source", fileName: "HgService.js", line: 638 }, kind: "string" } }); }); }); } getConfigValueAsync(arg0) { return trackOperationTiming("HgService.getConfigValueAsync", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "key", type: { location: { type: "source", fileName: "HgService.js", line: 659 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getConfigValueAsync", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 659 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 659 }, kind: "string" } }); }); }); } getDifferentialRevisionForChangeSetId(arg0) { return trackOperationTiming("HgService.getDifferentialRevisionForChangeSetId", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "changeSetId", type: { location: { type: "source", fileName: "HgService.js", line: 680 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getDifferentialRevisionForChangeSetId", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 680 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 680 }, kind: "string" } }); }); }); } getSmartlog(arg0, arg1) { return trackOperationTiming("HgService.getSmartlog", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "ttyOutput", type: { location: { type: "source", fileName: "HgService.js", line: 703 }, kind: "boolean" } }, { name: "concise", type: { location: { type: "source", fileName: "HgService.js", line: 703 }, kind: "boolean" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getSmartlog", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 703 }, kind: "named", name: "AsyncExecuteRet" }); }); }); } commit(arg0) { return trackOperationTiming("HgService.commit", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "message", type: { location: { type: "source", fileName: "HgService.js", line: 743 }, kind: "string" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "commit", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 743 }, kind: "void" }); }); }); } amend(arg0) { return trackOperationTiming("HgService.amend", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "message", type: { location: { type: "source", fileName: "HgService.js", line: 751 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 751 }, kind: "string" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "amend", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 751 }, kind: "void" }); }); }); } revert(arg0) { return trackOperationTiming("HgService.revert", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 759 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 759 }, kind: "named", name: "NuclideUri" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "revert", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 759 }, kind: "void" }); }); }); } checkout(arg0, arg1) { return trackOperationTiming("HgService.checkout", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "revision", type: { location: { type: "source", fileName: "HgService.js", line: 791 }, kind: "string" } }, { name: "create", type: { location: { type: "source", fileName: "HgService.js", line: 791 }, kind: "boolean" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "checkout", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 791 }, kind: "void" }); }); }); } rename(arg0, arg1, arg2) { return trackOperationTiming("HgService.rename", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 812 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 812 }, kind: "named", name: "NuclideUri" } } }, { name: "destPath", type: { location: { type: "source", fileName: "HgService.js", line: 813 }, kind: "named", name: "NuclideUri" } }, { name: "after", type: { location: { type: "source", fileName: "HgService.js", line: 814 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 814 }, kind: "boolean" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "rename", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 815 }, kind: "void" }); }); }); } remove(arg0, arg1) { return trackOperationTiming("HgService.remove", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 838 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 838 }, kind: "named", name: "NuclideUri" } } }, { name: "after", type: { location: { type: "source", fileName: "HgService.js", line: 838 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 838 }, kind: "boolean" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "remove", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 838 }, kind: "void" }); }); }); } add(arg0) { return trackOperationTiming("HgService.add", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 859 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 859 }, kind: "named", name: "NuclideUri" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "add", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 859 }, kind: "void" }); }); }); } getTemplateCommitMessage() { return trackOperationTiming("HgService.getTemplateCommitMessage", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getTemplateCommitMessage", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 867 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 867 }, kind: "string" } }); }); }); } getHeadCommitMessage() { return trackOperationTiming("HgService.getHeadCommitMessage", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "getHeadCommitMessage", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 903 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 903 }, kind: "string" } }); }); }); } log(arg0, arg1) { return trackOperationTiming("HgService.log", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 923 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 923 }, kind: "named", name: "NuclideUri" } } }, { name: "limit", type: { location: { type: "source", fileName: "HgService.js", line: 923 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 923 }, kind: "number" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "log", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 923 }, kind: "named", name: "VcsLogResponse" }); }); }); } fetchMergeConflicts() { return trackOperationTiming("HgService.fetchMergeConflicts", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "fetchMergeConflicts", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 940 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 940 }, kind: "named", name: "MergeConflict" } }); }); }); } resolveConflictedFile(arg0) { return trackOperationTiming("HgService.resolveConflictedFile", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePath", type: { location: { type: "source", fileName: "HgService.js", line: 985 }, kind: "named", name: "NuclideUri" } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "resolveConflictedFile", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 985 }, kind: "void" }); }); }); } continueRebase() { return trackOperationTiming("HgService.continueRebase", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "continueRebase", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 989 }, kind: "void" }); }); }); } abortRebase() { return trackOperationTiming("HgService.abortRebase", () => { return _client.marshalArguments(Array.from(arguments), []).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "abortRebase", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 993 }, kind: "void" }); }); }); } copy(arg0, arg1, arg2) { return trackOperationTiming("HgService.copy", () => { return _client.marshalArguments(Array.from(arguments), [{ name: "filePaths", type: { location: { type: "source", fileName: "HgService.js", line: 1003 }, kind: "array", type: { location: { type: "source", fileName: "HgService.js", line: 1003 }, kind: "named", name: "NuclideUri" } } }, { name: "destPath", type: { location: { type: "source", fileName: "HgService.js", line: 1004 }, kind: "named", name: "NuclideUri" } }, { name: "after", type: { location: { type: "source", fileName: "HgService.js", line: 1005 }, kind: "nullable", type: { location: { type: "source", fileName: "HgService.js", line: 1005 }, kind: "boolean" } } }]).then(args => { return _client.marshal(this, { kind: "named", location: { type: "source", fileName: "HgService.js", line: 197 }, name: "HgService" }).then(id => { return _client.callRemoteMethod(id, "copy", "promise", args); }); }).then(value => { return _client.unmarshal(value, { location: { type: "source", fileName: "HgService.js", line: 1006 }, kind: "void" }); }); }); } dispose() { return _client.disposeRemoteObject(this); } }; return remoteModule; }; Object.defineProperty(module.exports, "inject", { value: function () { Observable = arguments[0]; trackOperationTiming = arguments[1]; } }); Object.defineProperty(module.exports, "defs", { value: new Map([["Object", { kind: "alias", name: "Object", location: { type: "builtin" } }], ["Date", { kind: "alias", name: "Date", location: { type: "builtin" } }], ["RegExp", { kind: "alias", name: "RegExp", location: { type: "builtin" } }], ["Buffer", { kind: "alias", name: "Buffer", location: { type: "builtin" } }], ["fs.Stats", { kind: "alias", name: "fs.Stats", location: { type: "builtin" } }], ["NuclideUri", { kind: "alias", name: "NuclideUri", location: { type: "builtin" } }], ["StatusCodeIdValue", { kind: "alias", location: { type: "source", fileName: "HgService.js", line: 82 }, name: "StatusCodeIdValue", definition: { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "union", types: [{ location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "A" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "C" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "I" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "M" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "!" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "R" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "?" }, { location: { type: "source", fileName: "HgService.js", line: 82 }, kind: "string-literal", value: "U" }] } }], ["MergeConflictStatusValue", { kind: "alias", location: { type: "source", fileName: "HgService.js", line: 84 }, name: "MergeConflictStatusValue", definition: { location: { type: "source", fileName: "HgService.js", line: 84 }, kind: "union", types: [{ location: { type: "source", fileName: "HgService.js", line: 84 }, kind: "string-literal", value: "both changed" }, { location: { type: "source", fileName: "HgService.js", line: 84 }, kind: "string-literal", value: "deleted in theirs" }, { location: { type: "source", fileName: "HgService.js", line: 84 }, kind: "string-literal", value: "deleted in ours" }] } }], ["StatusCodeNumberValue", { kind: "alias", location: { type: "source", fileName: "HgService.js", line: 94 }, name: "StatusCodeNumberValue", definition: { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "union", types: [{ location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 1 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 2 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 3 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 4 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 5 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-literal", value: 6 }, { location: { type: "source", fileName: "HgService.js", line: 94 }, kind: "number-l