Merge lp:~jelmer/brz/homedir-location into lp:brz/3.0
- homedir-location
- Merge into 3.0
Proposed by
Jelmer Vernooij
Status: | Merged |
---|---|
Approved by: | Jelmer Vernooij |
Approved revision: | no longer in the source branch. |
Merge reported by: | The Breezy Bot |
Merged at revision: | not available |
Proposed branch: | lp:~jelmer/brz/homedir-location |
Merge into: | lp:brz/3.0 |
Diff against target: |
269 lines (+36/-33) 10 files modified
breezy/builtins.py (+19/-18) breezy/globbing.py (+3/-1) breezy/ignores.py (+1/-1) doc/developers/apport.txt (+1/-1) doc/developers/contribution-quickstart.txt (+1/-1) doc/developers/plugin-development.txt (+1/-1) doc/en/admin-guide/hooks-plugins.txt (+4/-4) doc/en/admin-guide/migration.txt (+1/-1) doc/en/user-guide/controlling_registration.txt (+3/-3) doc/en/user-guide/plugins.txt (+2/-2) |
To merge this branch: | bzr merge lp:~jelmer/brz/homedir-location |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman | Approve | ||
Review via email: mp+363701@code.launchpad.net |
Commit message
Update references to home location.
Description of the change
Update references to home location.
~/.config/breezy rather than ~/.bazaar.
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'breezy/builtins.py' | |||
2 | --- breezy/builtins.py 2019-02-09 03:23:20 +0000 | |||
3 | +++ breezy/builtins.py 2019-02-27 01:45:35 +0000 | |||
4 | @@ -348,7 +348,7 @@ | |||
5 | 348 | Not versioned and not matching an ignore pattern. | 348 | Not versioned and not matching an ignore pattern. |
6 | 349 | 349 | ||
7 | 350 | Additionally for directories, symlinks and files with a changed | 350 | Additionally for directories, symlinks and files with a changed |
9 | 351 | executable bit, Bazaar indicates their type using a trailing | 351 | executable bit, Breezy indicates their type using a trailing |
10 | 352 | character: '/', '@' or '*' respectively. These decorations can be | 352 | character: '/', '@' or '*' respectively. These decorations can be |
11 | 353 | disabled using the '--no-classify' option. | 353 | disabled using the '--no-classify' option. |
12 | 354 | 354 | ||
13 | @@ -1728,7 +1728,7 @@ | |||
14 | 1728 | If the tree's branch is bound to a master branch, brz will also update | 1728 | If the tree's branch is bound to a master branch, brz will also update |
15 | 1729 | the branch from the master. | 1729 | the branch from the master. |
16 | 1730 | 1730 | ||
18 | 1731 | You cannot update just a single file or directory, because each Bazaar | 1731 | You cannot update just a single file or directory, because each Breezy |
19 | 1732 | working tree has just a single basis revision. If you want to restore a | 1732 | working tree has just a single basis revision. If you want to restore a |
20 | 1733 | file that has been removed locally, use 'brz revert' instead of 'brz | 1733 | file that has been removed locally, use 'brz revert' instead of 'brz |
21 | 1734 | update'. If you want to restore a file to its state in a previous | 1734 | update'. If you want to restore a file to its state in a previous |
22 | @@ -1871,11 +1871,11 @@ | |||
23 | 1871 | class cmd_remove(Command): | 1871 | class cmd_remove(Command): |
24 | 1872 | __doc__ = """Remove files or directories. | 1872 | __doc__ = """Remove files or directories. |
25 | 1873 | 1873 | ||
27 | 1874 | This makes Bazaar stop tracking changes to the specified files. Bazaar will | 1874 | This makes Breezy stop tracking changes to the specified files. Breezy will |
28 | 1875 | delete them if they can easily be recovered using revert otherwise they | 1875 | delete them if they can easily be recovered using revert otherwise they |
29 | 1876 | will be backed up (adding an extension of the form .~#~). If no options or | 1876 | will be backed up (adding an extension of the form .~#~). If no options or |
32 | 1877 | parameters are given Bazaar will scan for files that are being tracked by | 1877 | parameters are given Breezy will scan for files that are being tracked by |
33 | 1878 | Bazaar but missing in your tree and stop tracking them for you. | 1878 | Breezy but missing in your tree and stop tracking them for you. |
34 | 1879 | """ | 1879 | """ |
35 | 1880 | takes_args = ['file*'] | 1880 | takes_args = ['file*'] |
36 | 1881 | takes_options = ['verbose', | 1881 | takes_options = ['verbose', |
37 | @@ -3091,9 +3091,10 @@ | |||
38 | 3091 | using this command or directly by using an editor, be sure to commit | 3091 | using this command or directly by using an editor, be sure to commit |
39 | 3092 | it. | 3092 | it. |
40 | 3093 | 3093 | ||
44 | 3094 | Bazaar also supports a global ignore file ~/.bazaar/ignore. On Windows | 3094 | Breezy also supports a global ignore file ~/.config/breezy/ignore. On |
45 | 3095 | the global ignore file can be found in the application data directory as | 3095 | Windows the global ignore file can be found in the application data |
46 | 3096 | C:\\Documents and Settings\\<user>\\Application Data\\Bazaar\\2.0\\ignore. | 3096 | directory as |
47 | 3097 | C:\\Documents and Settings\\<user>\\Application Data\\Breezy\\3.0\\ignore. | ||
48 | 3097 | Global ignores are not touched by this command. The global ignore file | 3098 | Global ignores are not touched by this command. The global ignore file |
49 | 3098 | can be edited directly using an editor. | 3099 | can be edited directly using an editor. |
50 | 3099 | 3100 | ||
51 | @@ -3732,7 +3733,7 @@ | |||
52 | 3732 | unreferenced ancestors | 3733 | unreferenced ancestors |
53 | 3733 | Texts that are ancestors of other texts, but | 3734 | Texts that are ancestors of other texts, but |
54 | 3734 | are not properly referenced by the revision ancestry. This is a | 3735 | are not properly referenced by the revision ancestry. This is a |
56 | 3735 | subtle problem that Bazaar can work around. | 3736 | subtle problem that Breezy can work around. |
57 | 3736 | 3737 | ||
58 | 3737 | unique file texts | 3738 | unique file texts |
59 | 3738 | This is the total number of unique file contents | 3739 | This is the total number of unique file contents |
60 | @@ -3744,7 +3745,7 @@ | |||
61 | 3744 | entries are modified, but the file contents are not. It does not | 3745 | entries are modified, but the file contents are not. It does not |
62 | 3745 | indicate a problem. | 3746 | indicate a problem. |
63 | 3746 | 3747 | ||
65 | 3747 | If no restrictions are specified, all Bazaar data that is found at the given | 3748 | If no restrictions are specified, all data that is found at the given |
66 | 3748 | location will be checked. | 3749 | location will be checked. |
67 | 3749 | 3750 | ||
68 | 3750 | :Examples: | 3751 | :Examples: |
69 | @@ -3786,10 +3787,10 @@ | |||
70 | 3786 | __doc__ = """Upgrade a repository, branch or working tree to a newer format. | 3787 | __doc__ = """Upgrade a repository, branch or working tree to a newer format. |
71 | 3787 | 3788 | ||
72 | 3788 | When the default format has changed after a major new release of | 3789 | When the default format has changed after a major new release of |
74 | 3789 | Bazaar, you may be informed during certain operations that you | 3790 | Bazaar/Breezy, you may be informed during certain operations that you |
75 | 3790 | should upgrade. Upgrading to a newer format may improve performance | 3791 | should upgrade. Upgrading to a newer format may improve performance |
76 | 3791 | or make new features available. It may however limit interoperability | 3792 | or make new features available. It may however limit interoperability |
78 | 3792 | with older repositories or with older versions of Bazaar. | 3793 | with older repositories or with older versions of Bazaar or Breezy. |
79 | 3793 | 3794 | ||
80 | 3794 | If you wish to upgrade to a particular format rather than the | 3795 | If you wish to upgrade to a particular format rather than the |
81 | 3795 | current default, that can be specified using the --format option. | 3796 | current default, that can be specified using the --format option. |
82 | @@ -3811,7 +3812,7 @@ | |||
83 | 3811 | If the conversion of a branch fails, remaining branches are still | 3812 | If the conversion of a branch fails, remaining branches are still |
84 | 3812 | tried. | 3813 | tried. |
85 | 3813 | 3814 | ||
87 | 3814 | For more information on upgrades, see the Bazaar Upgrade Guide, | 3815 | For more information on upgrades, see the Breezy Upgrade Guide, |
88 | 3815 | https://www.breezy-vcs.org/doc/en/upgrade-guide/. | 3816 | https://www.breezy-vcs.org/doc/en/upgrade-guide/. |
89 | 3816 | """ | 3817 | """ |
90 | 3817 | 3818 | ||
91 | @@ -4312,7 +4313,7 @@ | |||
92 | 4312 | through OTHER, excluding BASE but including OTHER, will be merged. If this | 4313 | through OTHER, excluding BASE but including OTHER, will be merged. If this |
93 | 4313 | causes some revisions to be skipped, i.e. if the destination branch does | 4314 | causes some revisions to be skipped, i.e. if the destination branch does |
94 | 4314 | not already contain revision BASE, such a merge is commonly referred to as | 4315 | not already contain revision BASE, such a merge is commonly referred to as |
96 | 4315 | a "cherrypick". Unlike a normal merge, Bazaar does not currently track | 4316 | a "cherrypick". Unlike a normal merge, Breezy does not currently track |
97 | 4316 | cherrypicks. The changes look like a normal commit, and the history of the | 4317 | cherrypicks. The changes look like a normal commit, and the history of the |
98 | 4317 | changes from the other branch is not stored in the commit. | 4318 | changes from the other branch is not stored in the commit. |
99 | 4318 | 4319 | ||
100 | @@ -5133,8 +5134,8 @@ | |||
101 | 5133 | 5134 | ||
102 | 5134 | --verbose shows the path where each plugin is located. | 5135 | --verbose shows the path where each plugin is located. |
103 | 5135 | 5136 | ||
106 | 5136 | A plugin is an external component for Bazaar that extends the | 5137 | A plugin is an external component for Breezy that extends the |
107 | 5137 | revision control system, by adding or replacing code in Bazaar. | 5138 | revision control system, by adding or replacing code in Breezy. |
108 | 5138 | Plugins can do a variety of things, including overriding commands, | 5139 | Plugins can do a variety of things, including overriding commands, |
109 | 5139 | adding new commands, providing additional network transports and | 5140 | adding new commands, providing additional network transports and |
110 | 5140 | customizing log output. | 5141 | customizing log output. |
111 | @@ -5498,7 +5499,7 @@ | |||
112 | 5498 | :Examples: | 5499 | :Examples: |
113 | 5499 | brz break-lock | 5500 | brz break-lock |
114 | 5500 | brz break-lock brz+ssh://example.com/brz/foo | 5501 | brz break-lock brz+ssh://example.com/brz/foo |
116 | 5501 | brz break-lock --conf ~/.bazaar | 5502 | brz break-lock --conf ~/.config/breezy |
117 | 5502 | """ | 5503 | """ |
118 | 5503 | 5504 | ||
119 | 5504 | takes_args = ['location?'] | 5505 | takes_args = ['location?'] |
120 | @@ -5789,7 +5790,7 @@ | |||
121 | 5789 | branch containing submit_branch in its ancestory without needing access to | 5790 | branch containing submit_branch in its ancestory without needing access to |
122 | 5790 | the source branch. | 5791 | the source branch. |
123 | 5791 | 5792 | ||
125 | 5792 | If --no-bundle is specified, then Bazaar doesn't send the contents of the | 5793 | If --no-bundle is specified, then Breezy doesn't send the contents of the |
126 | 5793 | revisions, but only a structured request to merge from the | 5794 | revisions, but only a structured request to merge from the |
127 | 5794 | public_location. In that case the public_branch is needed and it must be | 5795 | public_location. In that case the public_branch is needed and it must be |
128 | 5795 | up-to-date and accessible to the recipient. The public_branch is always | 5796 | up-to-date and accessible to the recipient. The public_branch is always |
129 | 5796 | 5797 | ||
130 | === modified file 'breezy/globbing.py' | |||
131 | --- breezy/globbing.py 2018-11-18 19:48:57 +0000 | |||
132 | +++ breezy/globbing.py 2019-02-27 01:45:35 +0000 | |||
133 | @@ -248,7 +248,9 @@ | |||
134 | 248 | # the combined pattern we sent to regex. Instead we indicate to | 248 | # the combined pattern we sent to regex. Instead we indicate to |
135 | 249 | # the user that an ignore file needs fixing. | 249 | # the user that an ignore file needs fixing. |
136 | 250 | mutter('Invalid pattern found in regex: %s.', e.msg) | 250 | mutter('Invalid pattern found in regex: %s.', e.msg) |
138 | 251 | e.msg = "File ~/.bazaar/ignore or .bzrignore contains error(s)." | 251 | e.msg = ( |
139 | 252 | "File ~/.config/breezy/ignore or " | ||
140 | 253 | ".bzrignore contains error(s).") | ||
141 | 252 | bad_patterns = '' | 254 | bad_patterns = '' |
142 | 253 | for _, patterns in self._regex_patterns: | 255 | for _, patterns in self._regex_patterns: |
143 | 254 | for p in patterns: | 256 | for p in patterns: |
144 | 255 | 257 | ||
145 | === modified file 'breezy/ignores.py' | |||
146 | --- breezy/ignores.py 2018-11-12 01:41:38 +0000 | |||
147 | +++ breezy/ignores.py 2019-02-27 01:45:35 +0000 | |||
148 | @@ -33,7 +33,7 @@ | |||
149 | 33 | ) | 33 | ) |
150 | 34 | """) | 34 | """) |
151 | 35 | 35 | ||
153 | 36 | # ~/.bazaar/ignore will be filled out using | 36 | # ~/.config/breezy/ignore will be filled out using |
154 | 37 | # this ignore list, if it does not exist | 37 | # this ignore list, if it does not exist |
155 | 38 | # please keep these sorted (in C locale order) to aid merging | 38 | # please keep these sorted (in C locale order) to aid merging |
156 | 39 | USER_DEFAULTS = [ | 39 | USER_DEFAULTS = [ |
157 | 40 | 40 | ||
158 | === modified file 'doc/developers/apport.txt' | |||
159 | --- doc/developers/apport.txt 2009-12-02 20:34:07 +0000 | |||
160 | +++ doc/developers/apport.txt 2019-02-27 01:45:35 +0000 | |||
161 | @@ -41,7 +41,7 @@ | |||
162 | 41 | 41 | ||
163 | 42 | #. An exception reaches the top-level handler. | 42 | #. An exception reaches the top-level handler. |
164 | 43 | 43 | ||
166 | 44 | #. We log it in apport-format to a file in ~/.bazaar/crash. | 44 | #. We log it in apport-format to a file in ~/.config/breezy/crash. |
167 | 45 | 45 | ||
168 | 46 | #. We tell the user where that file is, and invite them to file a bug | 46 | #. We tell the user where that file is, and invite them to file a bug |
169 | 47 | report. | 47 | report. |
170 | 48 | 48 | ||
171 | === modified file 'doc/developers/contribution-quickstart.txt' | |||
172 | --- doc/developers/contribution-quickstart.txt 2019-01-01 21:38:07 +0000 | |||
173 | +++ doc/developers/contribution-quickstart.txt 2019-02-27 01:45:35 +0000 | |||
174 | @@ -46,7 +46,7 @@ | |||
175 | 46 | closely-related cluster of bugs per branch, to make reviews and merges | 46 | closely-related cluster of bugs per branch, to make reviews and merges |
176 | 47 | flow more smoothly. | 47 | flow more smoothly. |
177 | 48 | 48 | ||
179 | 49 | You probably want this configuration in ``~/.bazaar/locations.conf``:: | 49 | You probably want this configuration in ``~/.config/breezy/locations.conf``:: |
180 | 50 | 50 | ||
181 | 51 | [/home/USER/brz] | 51 | [/home/USER/brz] |
182 | 52 | push_location = lp:~LAUNCHPAD_USER/brz/{branchname} | 52 | push_location = lp:~LAUNCHPAD_USER/brz/{branchname} |
183 | 53 | 53 | ||
184 | === modified file 'doc/developers/plugin-development.txt' | |||
185 | --- doc/developers/plugin-development.txt 2018-11-22 02:23:26 +0000 | |||
186 | +++ doc/developers/plugin-development.txt 2019-02-27 01:45:35 +0000 | |||
187 | @@ -31,7 +31,7 @@ | |||
188 | 31 | To ensure your plugin under development is available to Breezy, set | 31 | To ensure your plugin under development is available to Breezy, set |
189 | 32 | the ``BRZ_PLUGIN_PATH`` environment variable to its parent directory. | 32 | the ``BRZ_PLUGIN_PATH`` environment variable to its parent directory. |
190 | 33 | Alternatively, you may wish to develop your plugin within a directory | 33 | Alternatively, you may wish to develop your plugin within a directory |
192 | 34 | under your personal plugins area (``~/.bazaar/plugins`` on GNU/Linux) | 34 | under your personal plugins area (``~/.config/breezy/plugins`` on GNU/Linux) |
193 | 35 | or put a symbolic link in that area pointing to your plugin under | 35 | or put a symbolic link in that area pointing to your plugin under |
194 | 36 | test. Finally you can use ``BRZ_PLUGINS_AT`` to point to a specific | 36 | test. Finally you can use ``BRZ_PLUGINS_AT`` to point to a specific |
195 | 37 | directory for a specific plugin (separated by your platform's value of | 37 | directory for a specific plugin (separated by your platform's value of |
196 | 38 | 38 | ||
197 | === modified file 'doc/en/admin-guide/hooks-plugins.txt' | |||
198 | --- doc/en/admin-guide/hooks-plugins.txt 2018-11-18 13:20:01 +0000 | |||
199 | +++ doc/en/admin-guide/hooks-plugins.txt 2019-02-27 01:45:35 +0000 | |||
200 | @@ -25,10 +25,10 @@ | |||
201 | 25 | http://doc.bazaar.canonical.com/plugins/en/. For purposes of installation, | 25 | http://doc.bazaar.canonical.com/plugins/en/. For purposes of installation, |
202 | 26 | plugins are simply python packages. They can be installed alongside Bazaar in | 26 | plugins are simply python packages. They can be installed alongside Bazaar in |
203 | 27 | the ``bzrlib.plugins`` package using each plugin's ``setup.py``. They can | 27 | the ``bzrlib.plugins`` package using each plugin's ``setup.py``. They can |
208 | 28 | also be installed in the plugin path which is the user's ``~/.bazaar/plugins`` | 28 | also be installed in the plugin path which is the user's |
209 | 29 | directory or can be specified with the ``BZR_PLUGIN_PATH`` environment | 29 | ``~/.config/breezy/plugins`` directory or can be specified with the |
210 | 30 | variable. See ``bzr help configuration`` for more on specifying the location | 30 | ``BZR_PLUGIN_PATH`` environment variable. See ``bzr help configuration`` for |
211 | 31 | of plugins. | 31 | more on specifying the location of plugins. |
212 | 32 | 32 | ||
213 | 33 | 33 | ||
214 | 34 | Email Notification | 34 | Email Notification |
215 | 35 | 35 | ||
216 | === modified file 'doc/en/admin-guide/migration.txt' | |||
217 | --- doc/en/admin-guide/migration.txt 2018-11-18 13:20:01 +0000 | |||
218 | +++ doc/en/admin-guide/migration.txt 2019-02-27 01:45:35 +0000 | |||
219 | @@ -56,7 +56,7 @@ | |||
220 | 56 | This command has flexible ways to specify what paths within the Subversion | 56 | This command has flexible ways to specify what paths within the Subversion |
221 | 57 | repository contain branches and which contain tags. For example, the | 57 | repository contain branches and which contain tags. For example, the |
222 | 58 | recommended layout for Subversion projects (called ``trunk`` by the svn | 58 | recommended layout for Subversion projects (called ``trunk`` by the svn |
224 | 59 | plugin) could be specified in ``~/.bazaar/subversion.conf`` as | 59 | plugin) could be specified in ``~/.config/breezy/subversion.conf`` as |
225 | 60 | 60 | ||
226 | 61 | :: | 61 | :: |
227 | 62 | 62 | ||
228 | 63 | 63 | ||
229 | === modified file 'doc/en/user-guide/controlling_registration.txt' | |||
230 | --- doc/en/user-guide/controlling_registration.txt 2017-05-21 13:41:54 +0000 | |||
231 | +++ doc/en/user-guide/controlling_registration.txt 2019-02-27 01:45:35 +0000 | |||
232 | @@ -95,12 +95,12 @@ | |||
233 | 95 | There are some ignored files which are not project specific, but more user | 95 | There are some ignored files which are not project specific, but more user |
234 | 96 | specific. Things like editor temporary files, or personal temporary files. | 96 | specific. Things like editor temporary files, or personal temporary files. |
235 | 97 | Rather than add these ignores to every project, brz supports a global | 97 | Rather than add these ignores to every project, brz supports a global |
237 | 98 | ignore file in ``~/.bazaar/ignore`` [#]_. It has the same syntax as the | 98 | ignore file in ``~/.config/breezy/ignore`` [#]_. It has the same syntax as the |
238 | 99 | per-project ignore file. | 99 | per-project ignore file. |
239 | 100 | 100 | ||
240 | 101 | .. [#] On Windows, the users configuration files can be found in the | 101 | .. [#] On Windows, the users configuration files can be found in the |
242 | 102 | application data directory. So instead of ``~/.bazaar/branch.conf`` | 102 | application data directory. So instead of ``~/.config/breezy/branch.conf`` |
243 | 103 | the configuration file can be found as: | 103 | the configuration file can be found as: |
245 | 104 | ``C:\Documents and Settings\<username>\Application Data\Breezy\2.0\branch.conf``. | 104 | ``C:\Documents and Settings\<username>\Application Data\Breezy\3.0\branch.conf``. |
246 | 105 | The same is true for ``locations.conf``, ``ignore``, and the | 105 | The same is true for ``locations.conf``, ``ignore``, and the |
247 | 106 | ``plugins`` directory. | 106 | ``plugins`` directory. |
248 | 107 | 107 | ||
249 | === modified file 'doc/en/user-guide/plugins.txt' | |||
250 | --- doc/en/user-guide/plugins.txt 2017-05-21 13:41:54 +0000 | |||
251 | +++ doc/en/user-guide/plugins.txt 2019-02-27 01:45:35 +0000 | |||
252 | @@ -35,7 +35,7 @@ | |||
253 | 35 | 35 | ||
254 | 36 | Installing a plugin is very easy! If not already created, create a | 36 | Installing a plugin is very easy! If not already created, create a |
255 | 37 | ``plugins`` directory under your Breezy configuration directory, | 37 | ``plugins`` directory under your Breezy configuration directory, |
257 | 38 | ``~/.bazaar/`` on Unix and | 38 | ``~/.config/breezy/`` on Unix and |
258 | 39 | ``C:\Documents and Settings\<username>\Application Data\Breezy\2.0\`` | 39 | ``C:\Documents and Settings\<username>\Application Data\Breezy\2.0\`` |
259 | 40 | on Windows. Within this directory (referred to as $BZR_HOME below), | 40 | on Windows. Within this directory (referred to as $BZR_HOME below), |
260 | 41 | each plugin is placed in its own subdirectory. | 41 | each plugin is placed in its own subdirectory. |
261 | @@ -45,7 +45,7 @@ | |||
262 | 45 | one can perform the following:: | 45 | one can perform the following:: |
263 | 46 | 46 | ||
264 | 47 | brz branch http://panoramicfeedback.com/opensource/brz/brztools | 47 | brz branch http://panoramicfeedback.com/opensource/brz/brztools |
266 | 48 | ~/.bazaar/plugins/brztools | 48 | ~/.config/breezy/plugins/brztools |
267 | 49 | 49 | ||
268 | 50 | When installing plugins, the directories that you install them in must | 50 | When installing plugins, the directories that you install them in must |
269 | 51 | be valid python identifiers. This means that they can only contain | 51 | be valid python identifiers. This means that they can only contain |
Thanks!