Skip to content

Commit f11607a

Browse files
quark-zjufacebook-github-bot
authored andcommitted
website: update release metadata
Summary: Update `rawReleaseData` and commands so website can be built without errors like: Reviewed By: muirdm Differential Revision: D75237520 fbshipit-source-id: 8ce4cd22c4146e9f2eec1223acd95dac92a354df
1 parent 74d9600 commit f11607a

File tree

8 files changed

+86
-110
lines changed

8 files changed

+86
-110
lines changed

website/docs/commands/addremove.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 2
44

55
## addremove | addrm
66
<!--
7-
@generated SignedSource<<eb5d9f6de3184c7ef9c08f84af268cf3>>
7+
@generated SignedSource<<28bc13a7c29c7a4d62749b1e6ab8b384>>
88
Run `./scripts/generate-command-markdown.py` to regenerate.
99
-->
1010

@@ -25,8 +25,8 @@ this compares every removed file with every added file and records
2525
those similar enough as renames. Detecting renamed files this way
2626
can be expensive. After using this option, `sl status -C` can be
2727
used to check which files were identified as moved or renamed. If
28-
not specified, `-s/--similarity` defaults to 100 and only renames of
29-
identical files are detected.
28+
not specified, `-s/--similarity` defaults to 100, only marking
29+
identical files renamed.
3030

3131
Examples:
3232

website/docs/commands/amend.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 3
44

55
## amend | am
66
<!--
7-
@generated SignedSource<<b06b5a1332b4ac0afab84ba76196baf7>>
7+
@generated SignedSource<<8e240491fced53664751d1b5fe447fd5>>
88
Run `./scripts/generate-command-markdown.py` to regenerate.
99
-->
1010

@@ -52,6 +52,7 @@ conflict resolution process. Alternatively:
5252
| `-A`| `--addremove`| | mark new/missing files as added/removed before committing|
5353
| `-e`| `--edit`| | prompt to edit the commit message|
5454
| `-i`| `--interactive`| | use interactive mode|
55+
| | `--no-move-detection`| | disable automatic file move detection|
5556
| | `--rebase`| | rebases children after the amend|
5657
| | `--to`| | amend to a specific commit in the current stack|
5758
| `-T`| `--template`| | display with template|
@@ -61,5 +62,4 @@ conflict resolution process. Alternatively:
6162
| `-l`| `--logfile`| | read commit message from file|
6263
| `-d`| `--date`| | record the specified date as commit date|
6364
| `-u`| `--user`| | record the specified user as committer|
64-
| | `--no-move-detection`| | disable automatic file move detection|
6565
| | `--stack`| | incorporate corrections into stack. see &#x27;sl help absorb&#x27; for details|

website/docs/commands/commands-markdown.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"addremove",
111111
"addrm"
112112
],
113-
"doc": "\n**add all new files, delete all missing files**\n\nStart tracking all new files and stop tracking all missing files\nin the working copy. As with `sl add`, these changes take\neffect at the next commit.\n\nUnless file names are given, new files are ignored if they match any of\nthe patterns in `.gitignore`.\n\nUse the `-s/--similarity` option to detect renamed files. This\noption takes a percentage between 0 (disabled) and 100 (files must\nbe identical) as its parameter. With a parameter greater than 0,\nthis compares every removed file with every added file and records\nthose similar enough as renames. Detecting renamed files this way\ncan be expensive. After using this option, `sl status -C` can be\nused to check which files were identified as moved or renamed. If\nnot specified, `-s/--similarity` defaults to 100 and only renames of\nidentical files are detected.\n\nExamples:\n\n- Files bar.c and foo.c are new, while foobar.c has been removed (without using `sl remove`) from the repository:\n\n```\n$ ls\nbar.c foo.c\n$ sl status\n! foobar.c\n? bar.c\n? foo.c\n$ sl addremove\nadding bar.c\nadding foo.c\nremoving foobar.c\n$ sl status\nA bar.c\nA foo.c\nR foobar.c\n```\n\n- A file foobar.c was moved to foo.c without using `sl rename`. Afterwards, it was edited slightly:\n\n```\n$ ls\nfoo.c\n$ sl status\n! foobar.c\n? foo.c\n$ sl addremove --similarity 90\nremoving foobar.c\nadding foo.c\nrecording removal of foobar.c as rename to foo.c (94% similar)\n$ sl status -C\nA foo.c\n foobar.c\nR foobar.c\n```\n\nReturns 0 if all files are successfully added/removed.\n",
113+
"doc": "\n**add all new files, delete all missing files**\n\nStart tracking all new files and stop tracking all missing files\nin the working copy. As with `sl add`, these changes take\neffect at the next commit.\n\nUnless file names are given, new files are ignored if they match any of\nthe patterns in `.gitignore`.\n\nUse the `-s/--similarity` option to detect renamed files. This\noption takes a percentage between 0 (disabled) and 100 (files must\nbe identical) as its parameter. With a parameter greater than 0,\nthis compares every removed file with every added file and records\nthose similar enough as renames. Detecting renamed files this way\ncan be expensive. After using this option, `sl status -C` can be\nused to check which files were identified as moved or renamed. If\nnot specified, `-s/--similarity` defaults to 100, only marking\nidentical files renamed.\n\nExamples:\n\n- Files bar.c and foo.c are new, while foobar.c has been removed (without using `sl remove`) from the repository:\n\n```\n$ ls\nbar.c foo.c\n$ sl status\n! foobar.c\n? bar.c\n? foo.c\n$ sl addremove\nadding bar.c\nadding foo.c\nremoving foobar.c\n$ sl status\nA bar.c\nA foo.c\nR foobar.c\n```\n\n- A file foobar.c was moved to foo.c without using `sl rename`. Afterwards, it was edited slightly:\n\n```\n$ ls\nfoo.c\n$ sl status\n! foobar.c\n? foo.c\n$ sl addremove --similarity 90\nremoving foobar.c\nadding foo.c\nrecording removal of foobar.c as rename to foo.c (94% similar)\n$ sl status -C\nA foo.c\n foobar.c\nR foobar.c\n```\n\nReturns 0 if all files are successfully added/removed.\n",
114114
"args": [
115115
{
116116
"shortname": "s",
@@ -165,6 +165,12 @@
165165
"default": null,
166166
"description": "use interactive mode"
167167
},
168+
{
169+
"shortname": "",
170+
"fullname": "no-move-detection",
171+
"default": null,
172+
"description": "disable automatic file move detection"
173+
},
168174
{
169175
"shortname": "",
170176
"fullname": "rebase",
@@ -237,12 +243,6 @@
237243
"default": [],
238244
"description": "rewrite fields of commit message (e.g. --message-field=Summary='New Summary' to update or --message-field=-Summary to remove) (EXPERIMENTAL)"
239245
},
240-
{
241-
"shortname": "",
242-
"fullname": "no-move-detection",
243-
"default": null,
244-
"description": "disable automatic file move detection"
245-
},
246246
{
247247
"shortname": "",
248248
"fullname": "stack",
@@ -727,7 +727,7 @@
727727
"shortname": "",
728728
"fullname": "aws",
729729
"default": false,
730-
"description": "configure repo to run against AWS (EXPERIMENTAL)"
730+
"description": "configure repo to run against AWS (EXPERIMENTAL) (FBCODE)"
731731
}
732732
],
733733
"subcommands": null
@@ -770,6 +770,18 @@
770770
"default": "",
771771
"description": "reuse commit message from REV"
772772
},
773+
{
774+
"shortname": "",
775+
"fullname": "no-automv",
776+
"default": null,
777+
"description": "disable automatic file move detection (DEPRECATED)"
778+
},
779+
{
780+
"shortname": "",
781+
"fullname": "no-move-detection",
782+
"default": null,
783+
"description": "disable automatic file move detection"
784+
},
773785
{
774786
"shortname": "I",
775787
"fullname": "include",
@@ -841,18 +853,6 @@
841853
"fullname": "template",
842854
"default": "",
843855
"description": "(with --amend) display with template (DEPRECATED)"
844-
},
845-
{
846-
"shortname": "",
847-
"fullname": "no-automv",
848-
"default": null,
849-
"description": "disable automatic file move detection (DEPRECATED)"
850-
},
851-
{
852-
"shortname": "",
853-
"fullname": "no-move-detection",
854-
"default": null,
855-
"description": "disable automatic file move detection"
856856
}
857857
],
858858
"subcommands": null
@@ -1077,7 +1077,7 @@
10771077
"fold",
10781078
"squash"
10791079
],
1080-
"doc": "\n**combine multiple commits into a single commit**\n\nWith `--from`, fold all of the commit linearly between the current\ncommit and the specified commit.\n\nWith `--exact`, fold only the specified commits while ignoring the\ncurrent commit. The given commits must form a linear, continuous\nchain.\n\nSome examples:\n\n- Fold from the current commit to its parent:\n\n```\nsl fold --from .^\n```\n\n- Fold all draft commits into the current commit:\n\n```\nsl fold --from 'draft()'\n```\n\nSee `sl help phases` for more about draft commits and\n`sl help revsets` for more about the `draft()` keyword.\n\n- Fold commits between e254371c1 and be57079e4 into the current commit:\n\n```\nsl fold --from e254371c1::be57079e4\n```\n\n- Fold commits e254371c1 and be57079e4:\n\nsl fold &quot;e254371c1 + be57079e4&quot; --exact\n\n- Only fold commits linearly between foo and .:\n\n```\nsl fold foo::. --exact\n```\n",
1080+
"doc": "\n**combine multiple commits into a single commit**\n\nWith `--from`, fold all of the commit linearly between the current\ncommit and the specified commit.\n\nWith `--exact`, fold only the specified commits while ignoring the\ncurrent commit. The given commits must form a linear, continuous\nchain.\n\nSome examples:\n\n- Fold from the current commit to its parent:\n\n```\nsl fold --from .^\n```\n\n- Fold all draft commits into the current commit:\n\n```\nsl fold --from 'draft()'\n```\n\nSee `sl help phases` for more about draft commits and\n`sl help revsets` for more about the `draft()` keyword.\n\n- Fold commits between e254371c1 and be57079e4 into the current commit:\n\n```\nsl fold --from e254371c1::be57079e4\n```\n\n- Fold commits e254371c1 and be57079e4:\n\n```\nsl fold \"e254371c1 + be57079e4\" --exact\n```\n\n- Only fold commits linearly between foo and .:\n\n```\nsl fold foo::. --exact\n```\n",
10811081
"args": [
10821082
{
10831083
"shortname": "r",
@@ -2084,7 +2084,7 @@
20842084
"aliases": [
20852085
"pull"
20862086
],
2087-
"doc": "\n**pull commits from the specified source**\n\nPull commits from a remote repository to a local one. This command modifies\nthe commit graph, but doesn&#x27;t mutate local commits or the working copy.\n\nUse `-B/--bookmark` to specify a remote bookmark to pull. For Git\nrepos, remote bookmarks correspond to branches. If no bookmark is\nspecified, a default set of relevant remote names are pulled.\n\nIf SOURCE is omitted, the default path is used. Use `sl path\n--add` to add a named source.\n\nSee `sl help urls` and `sl help path` for more information.\n\nExamples:\n\n- pull relevant remote bookmarks from default source:\n\n```\nsl pull\n```\n\n- pull a bookmark named my-branch from source my-fork:\n\nsl pull my-fork --bookmark my-branch\n\nYou can use `.` for BOOKMARK to specify the active bookmark.\n\nReturns 0 on success, 1 on failure, including if `--update` was\nspecified but the update had unresolved conflicts.\n",
2087+
"doc": "\n**pull commits from the specified source**\n\nPull commits from a remote repository to a local one. This command modifies\nthe commit graph, but doesn&#x27;t mutate local commits or the working copy.\n\nUse `-B/--bookmark` to specify a remote bookmark to pull. For Git\nrepos, remote bookmarks correspond to branches. If no bookmark is\nspecified, a default set of relevant remote names are pulled.\n\nIf SOURCE is omitted, the default path is used. Use `sl path\n--add` to add a named source.\n\nSee `sl help urls` and `sl help path` for more information.\n\nExamples:\n\n- pull relevant remote bookmarks from default source:\n\n```\nsl pull\n```\n\n- pull a bookmark named my-branch from source my-fork:\n\n```\nsl pull my-fork --bookmark my-branch\n```\n\nYou can use `.` for BOOKMARK to specify the active bookmark.\n\nReturns 0 on success, 1 on failure, including if `--update` was\nspecified but the update had unresolved conflicts.\n",
20882088
"args": [
20892089
{
20902090
"shortname": "u",
@@ -2810,7 +2810,7 @@
28102810
"unamend",
28112811
"una"
28122812
],
2813-
"doc": "\n**undo the last amend operation on the current commit**\n\nReverse the effects of an `sl amend` operation. Hides the current commit\nand checks out the previous version of the commit. `sl unamend` does not\nrevert the state of the working copy, so changes that were added to the\ncommit in the last amend operation become pending changes in the working\ncopy.\n\n`sl unamend` cannot be run on amended commits that have children. In\nother words, you cannot unamend an amended commit in the middle of a\nstack.\n\nRunning `sl unamend` is similar to running `sl undo --keep`\nimmediately after `sl amend`. However, unlike `sl undo`, which can\nonly undo an amend if it was the last operation you performed,\n`sl unamend` can unamend any draft amended commit in the graph that\ndoes not have children.\n\nAlthough `sl unamend` is typically used to reverse the effects of\n`sl amend`, it actually rolls back the current commit to its previous\nversion, regardless of whether the changes resulted from an `sl amend`\noperation or from another operation, such as `sl rebase`.\n",
2813+
"doc": "\n**undo the last amend operation on the current commit**\n\nReverse the effects of an `sl amend` operation. Hides the current commit\nand checks out the previous version of the commit. `sl unamend` does not\nrevert the state of the working copy, so changes that were added to the\ncommit in the last amend operation become pending changes in the working\ncopy.\n\n`sl unamend` cannot be run on amended commits that have children. In\nother words, you cannot unamend an amended commit in the middle of a\nstack.\n\nRunning `sl unamend` is similar to running `sl undo --keep`\nimmediately after `sl amend`. However, unlike `sl undo`, which can\nonly undo an amend if it was the last operation you performed,\n`sl unamend` can unamend any draft amended commit in the graph that\ndoes not have children.\n\nAlthough `sl unamend` is typically used to reverse the effects of\n`sl amend`, it actually rolls back the current commit to its previous\nversion, regardless of whether the changes resulted from an `sl amend`\noperation or from another operation. We disallow `sl unamend` if the\npredecessor&#x27;s parents don&#x27;t match the current commit&#x27;s parents to avoid\nunexpected behavior after, for example, `sl rebase`.\n",
28142814
"args": [],
28152815
"subcommands": null
28162816
},
@@ -2848,7 +2848,7 @@
28482848
"aliases": [
28492849
"undo"
28502850
],
2851-
"doc": "\n**undo the last local command**\n\nReverse the effects of the last local command. A local command is one that\nchanged the currently checked out commit, that modified the contents of\nlocal commits, or that changed local bookmarks. Examples of local commands\ninclude `sl goto`, `sl commit`, `sl amend`, and `sl rebase`.\n\nYou cannot use `sl undo` to undo uncommited changes in the working copy,\nor changes to remote bookmarks.\n\nYou can run `sl undo` multiple times to undo a series of local commands.\nAlternatively, you can explicitly specify the number of local commands to\nundo using `--step`. This number can also be specified as a positional\nargument.\n\nTo undo the effects of `sl undo`, run `sl redo`. Run\n`sl help redo` for more information.\n\nInclude `--keep` to preserve the state of the working copy. For example,\nspecify `--keep` when running `sl undo` to reverse the effects of an\n`sl commit` or `sl amend` operation while still preserving changes\nin the working copy. These changes will appear as pending changes.\n\nSpecify `--preview` to see a graphical display that shows what\nyour smartlog will look like after you run the command. Specify\n`--interactive` for an interactive version of this preview in which\nyou can step backwards and forwards in the undo history.\n\n`sl undo` cannot be used with non-local commands, or with commands\nthat are read-only. `sl undo` will skip over these commands in the\nundo history.\n\nFor hybrid commands that result in both local and remote changes,\n`sl undo` will undo the local changes, but not the remote changes.\nFor example, `sl pull --rebase` might move remote/master and also\nrebase local commits. In this situation, `sl undo` will revert the\nrebase, but not the change to remote/master.\n\nBranch limits the scope of an undo to a group of local (draft)\nchangectxs, identified by any one member of this group.\n",
2851+
"doc": "\n**undo the last local command**\n\nReverse the effects of the last local command. A local command is one that\nchanged the currently checked out commit, that modified the contents of\nlocal commits, or that changed local bookmarks. Examples of local commands\ninclude `sl goto`, `sl commit`, `sl amend`, and `sl rebase`.\n\nYou cannot use `sl undo` to undo uncommitted changes in the working copy,\nor changes to remote bookmarks.\n\nYou can run `sl undo` multiple times to undo a series of local commands.\nAlternatively, you can explicitly specify the number of local commands to\nundo using `--step`. This number can also be specified as a positional\nargument.\n\nTo undo the effects of `sl undo`, run `sl redo`. Run\n`sl help redo` for more information.\n\nInclude `--keep` to preserve the state of the working copy. For example,\nspecify `--keep` when running `sl undo` to reverse the effects of an\n`sl commit` or `sl amend` operation while still preserving changes\nin the working copy. These changes will appear as pending changes.\n\nSpecify `--preview` to see a graphical display that shows what\nyour smartlog will look like after you run the command. Specify\n`--interactive` for an interactive version of this preview in which\nyou can step backwards and forwards in the undo history.\n\n`sl undo` cannot be used with non-local commands, or with commands\nthat are read-only. `sl undo` will skip over these commands in the\nundo history.\n\nFor hybrid commands that result in both local and remote changes,\n`sl undo` will undo the local changes, but not the remote changes.\nFor example, `sl pull --rebase` might move remote/master and also\nrebase local commits. In this situation, `sl undo` will revert the\nrebase, but not the change to remote/master.\n\nBranch limits the scope of an undo to a group of local (draft)\nchangectxs, identified by any one member of this group.\n",
28522852
"args": [
28532853
{
28542854
"shortname": "a",

0 commit comments

Comments
 (0)