Summary: Colorize the smartlog example so it matches terminal output.
Reviewed By: quark-zju
Differential Revision: D41314885
fbshipit-source-id: 7d85517b8acf7596a35133b0429c91b5b2ca4464
Summary:
We're still using old name for goto command in docs.
Closes: #168
Reviewed By: bolinfest, zzl0
Differential Revision: D41342092
fbshipit-source-id: dd883b7c31e7834f2cfaf7afd5938ea3c61c2389
Summary:
Explain the drawdag DSL and show some examples.
This also serves as testing the WASM bindings.
Reviewed By: muirdm
Differential Revision: D41252231
fbshipit-source-id: 575c3019ff7f8bc758c9dcd1046bcf7f2db837bf
Summary:
Follow build step in README.md. Check in the compiled wasm (<1MB) so we don't
need extra (fragile) build steps for them.
Reviewed By: muirdm
Differential Revision: D41229582
fbshipit-source-id: d502a47a8c7509035a5eef615b864008e74c071a
Summary:
Add bindings that exports Rust logic to Javascript so we can use them on the
website.
Reviewed By: muirdm
Differential Revision: D41229581
fbshipit-source-id: e0bfb4700ff25f20ae3e9a806a2ab065be15e455
Summary: Describe the metalog. Hopefully it can be interesting to certain folks.
Reviewed By: muirdm
Differential Revision: D41293057
fbshipit-source-id: d0624ff2900b263788d5c0b57cbf1541bd0222e3
Summary:
Describe the indexedlog with background and high-level ideas. Hopefully it can
be interesting to certain folks.
Reviewed By: muirdm, akushner
Differential Revision: D41287715
fbshipit-source-id: c438fdbe88a984e1867b0cca94bbf45f4e195efe
Summary:
Mention how to push to a branch, add a remote, and pull from a non-default
remote. Correct inaccurate git commands in clone/push/pull section.
Change "Foo Bar" to "Foo bar" based on style guide.
Reviewed By: DurhamG
Differential Revision: D41310894
fbshipit-source-id: 977f96b66499fd7d1a125d41a81a9d5e264a5cd9
Summary:
Per style guide [1].
Ran script in docs/ except for docs/commands/:
import glob
import re
capwords = set("ReviewStack Code ISL Watchman Git Sapling GitHub Mercurial Apple Intel Windows EdenFS I Python Unicode".split())
for path in glob.glob('**/*.md', recursive=True):
with open(path, 'rb') as f:
content = f.read().decode()
newlines = []
skip = False
for line in content.splitlines():
if line.startswith('```'):
skip = not skip
if line.startswith('#') and not skip:
words = line.split(' ')
newwords = words[:2]
for word in words[2:]:
if re.sub('[.()]', '', word) not in capwords and word[1:] == word[1:].lower() and not newwords[-1].endswith("."):
# change to lowercase
word = word[:1].lower() + word[1:]
newwords.append(word)
line = ' '.join(newwords)
newlines.append(line)
newcontent = '\n'.join(newlines) + "\n"
if newcontent != content:
print(f'editing {path}')
with open(path, 'wb') as f:
f.write(newcontent.encode())
Manually updated two places using `A/B` like `Files/Trees` in scale/axes.
[1]: https://developers.google.com/style/headings
Reviewed By: sggutier
Differential Revision: D41312633
fbshipit-source-id: 9b45df8b120765d1875c3782e6f9d6e5ddb97af0
Summary:
The vscode extension does not bundle sapling, thus you must also install sapling with the normal instructions in order to use the extension.
We should add this to the website docs, as well as the README for the VS Code extension (which appears inside the vscode marketplace)
Reviewed By: DurhamG
Differential Revision: D41309780
fbshipit-source-id: 4caad13f5c478252324e6cd3874ef25c0bd735d8
Summary: Fix a few typos and reword a few sections to make them flow better.
Reviewed By: akushner
Differential Revision: D41294506
fbshipit-source-id: eeabfb357de23aef896445f4a1056c0e10618c7b
Summary:
Describe the linelog stuff. It might be interesting to other source control
folks.
Reviewed By: muirdm
Differential Revision: D41279087
fbshipit-source-id: edca1fd7722cae32fdcb4908fab3e6c7d474fc19
Summary:
Describe the zstdelta algorithm. It might be interesting to other source
control folks.
Reviewed By: muirdm
Differential Revision: D41275018
fbshipit-source-id: 8e44c3e23716c9130eaaedf751575d37f81e7696
Summary: The default limit on my macbook air is 256 - that's not enough for clones of larger repos to work.
Reviewed By: DurhamG
Differential Revision: D41308172
fbshipit-source-id: 27972c9f8d66d5236b69f5e65f66eb2e472f52b3
Summary: There are a few alias reductions not incorporated yet.
Reviewed By: bolinfest
Differential Revision: D41306456
fbshipit-source-id: f60aa3b020b7d50c871003d7360b2ea116574190
Summary:
- Move scale/overview to top in section
- Remove scale/segmented-changelog as it is blank (plan to be an internal page)
- Rename internals/difference-from-hg
Reviewed By: yancouto
Differential Revision: D41306674
fbshipit-source-id: aa9cb2bf853aceaabcaa400e7918cf4725a6c24f
Summary:
Changes:
- specify `--output` when using `curl`
- separate commands into separate blocks and drop `$` for easier copy-and-paste
- add `./` in front of filename so brew knows right away that it is a file and not a formula name
Also updated the release info:
```
./scripts/gen_release_data.py --repo facebook/sapling --out ./src/rawReleaseData.ts
```
Reviewed By: mitrandir77
Differential Revision: D41306411
fbshipit-source-id: 1327d2404f48812c18b844eb5b622acc69eab5e8
Summary: List the scalability work we add over time.
Reviewed By: DurhamG
Differential Revision: D41189125
fbshipit-source-id: bf0bbb57fded6608e0b70c402fd2449aee5d6dd3