Fossil SCM

Replaced use of MD blockquotes for command examples with MD code blocks.

wyoung 2024-02-18 15:15 trunk
Commit 006b61b0e5d43016c4e9779dbbf545cf502f739fe47a4e47f6bbf5a28b8e5ebc
1 file changed +7 -7
+7 -7
--- www/patchcmd.md
+++ www/patchcmd.md
@@ -7,11 +7,11 @@
77
For example, if you are working on a Windows desktop and you want to
88
test your changes on a Linux server before you commit, you can use the
99
"fossil patch push" command to make a copy of all your changes on the
1010
remote Linux server:
1111
12
-> fossil patch push linuxserver:/path/to/checkout
12
+ fossil patch push linuxserver:/path/to/checkout
1313
1414
In the previous "linuxserver" is the name of the remote machine and
1515
"/path/to/checkout" is an existing checkout directory for the same project
1616
on the remote machine.
1717
@@ -35,18 +35,18 @@
3535
PATH on the remote machine.
3636
3737
To check if Fossil is installed correctly on the remote, try a command
3838
like this:
3939
40
-> `ssh -T remote "fossil version"`
40
+ ssh -T remote "fossil version"
4141
4242
If the command above shows a recent version of Fossil, then you should be
4343
set to go. If you get "fossil not found", or if the version shown is too
4444
old, put a newer fossil executable on the default PATH. The default PATH
4545
can be shown using:
4646
47
-> `ssh -T remote 'echo $PATH'`
47
+ ssh -T remote 'echo $PATH'
4848
4949
### Custom PATH Caveat
5050
5151
On Unix-like systems, the init script for the user's login shell
5252
(e.g. `~/.profile` or `~/.bash_profile`) may be configured to *not do
@@ -92,21 +92,21 @@
9292
argument, then the database is read from that file. If the argument is "-"
9393
then the database is read from standard input.
9494
9595
Hence the command:
9696
97
-> `fossil patch push remote:projectA`
97
+ fossil patch push remote:projectA
9898
9999
Is equivalent to:
100100
101
-> `fossil patch create - | ssh -T remote 'cd projectA;fossil patch apply -'`
101
+ fossil patch create - | ssh -T remote 'cd projectA;fossil patch apply -'
102102
103103
Likewise, a command like this:
104104
105
-> `fossil patch pull remote:projB`
105
+ fossil patch pull remote:projB
106106
107107
Could be entered like this:
108108
109
-> `ssh -T remote 'cd projB;fossil patch create -' | fossil patch apply -`
109
+ ssh -T remote 'cd projB;fossil patch create -' | fossil patch apply -
110110
111111
The "fossil patch view" command just opens the database file and prints
112112
a summary of its contents on standard output.
113113
--- www/patchcmd.md
+++ www/patchcmd.md
@@ -7,11 +7,11 @@
7 For example, if you are working on a Windows desktop and you want to
8 test your changes on a Linux server before you commit, you can use the
9 "fossil patch push" command to make a copy of all your changes on the
10 remote Linux server:
11
12 > fossil patch push linuxserver:/path/to/checkout
13
14 In the previous "linuxserver" is the name of the remote machine and
15 "/path/to/checkout" is an existing checkout directory for the same project
16 on the remote machine.
17
@@ -35,18 +35,18 @@
35 PATH on the remote machine.
36
37 To check if Fossil is installed correctly on the remote, try a command
38 like this:
39
40 > `ssh -T remote "fossil version"`
41
42 If the command above shows a recent version of Fossil, then you should be
43 set to go. If you get "fossil not found", or if the version shown is too
44 old, put a newer fossil executable on the default PATH. The default PATH
45 can be shown using:
46
47 > `ssh -T remote 'echo $PATH'`
48
49 ### Custom PATH Caveat
50
51 On Unix-like systems, the init script for the user's login shell
52 (e.g. `~/.profile` or `~/.bash_profile`) may be configured to *not do
@@ -92,21 +92,21 @@
92 argument, then the database is read from that file. If the argument is "-"
93 then the database is read from standard input.
94
95 Hence the command:
96
97 > `fossil patch push remote:projectA`
98
99 Is equivalent to:
100
101 > `fossil patch create - | ssh -T remote 'cd projectA;fossil patch apply -'`
102
103 Likewise, a command like this:
104
105 > `fossil patch pull remote:projB`
106
107 Could be entered like this:
108
109 > `ssh -T remote 'cd projB;fossil patch create -' | fossil patch apply -`
110
111 The "fossil patch view" command just opens the database file and prints
112 a summary of its contents on standard output.
113
--- www/patchcmd.md
+++ www/patchcmd.md
@@ -7,11 +7,11 @@
7 For example, if you are working on a Windows desktop and you want to
8 test your changes on a Linux server before you commit, you can use the
9 "fossil patch push" command to make a copy of all your changes on the
10 remote Linux server:
11
12 fossil patch push linuxserver:/path/to/checkout
13
14 In the previous "linuxserver" is the name of the remote machine and
15 "/path/to/checkout" is an existing checkout directory for the same project
16 on the remote machine.
17
@@ -35,18 +35,18 @@
35 PATH on the remote machine.
36
37 To check if Fossil is installed correctly on the remote, try a command
38 like this:
39
40 ssh -T remote "fossil version"
41
42 If the command above shows a recent version of Fossil, then you should be
43 set to go. If you get "fossil not found", or if the version shown is too
44 old, put a newer fossil executable on the default PATH. The default PATH
45 can be shown using:
46
47 ssh -T remote 'echo $PATH'
48
49 ### Custom PATH Caveat
50
51 On Unix-like systems, the init script for the user's login shell
52 (e.g. `~/.profile` or `~/.bash_profile`) may be configured to *not do
@@ -92,21 +92,21 @@
92 argument, then the database is read from that file. If the argument is "-"
93 then the database is read from standard input.
94
95 Hence the command:
96
97 fossil patch push remote:projectA
98
99 Is equivalent to:
100
101 fossil patch create - | ssh -T remote 'cd projectA;fossil patch apply -'
102
103 Likewise, a command like this:
104
105 fossil patch pull remote:projB
106
107 Could be entered like this:
108
109 ssh -T remote 'cd projB;fossil patch create -' | fossil patch apply -
110
111 The "fossil patch view" command just opens the database file and prints
112 a summary of its contents on standard output.
113

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button