Mercurial > hg
comparison hgext/share.py @ 45942:89a2afe31e82
formating: upgrade to black 20.8b1
This required a couple of small tweaks to un-confuse black, but now it
works. Big formatting changes come from:
* Dramatically improved collection-splitting logic upstream
* Black having a strong (correct IMO) opinion that """ is better than '''
Differential Revision: https://phab.mercurial-scm.org/D9430
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Fri, 27 Nov 2020 17:03:29 -0500 |
parents | 2fd8a8c11273 |
children | 91425656e2b1 |
comparison
equal
deleted
inserted
replaced
45941:346af7687c6f | 45942:89a2afe31e82 |
---|---|
73 @command( | 73 @command( |
74 b'share', | 74 b'share', |
75 [ | 75 [ |
76 (b'U', b'noupdate', None, _(b'do not create a working directory')), | 76 (b'U', b'noupdate', None, _(b'do not create a working directory')), |
77 (b'B', b'bookmarks', None, _(b'also share bookmarks')), | 77 (b'B', b'bookmarks', None, _(b'also share bookmarks')), |
78 (b'', b'relative', None, _(b'point to source using a relative path'),), | 78 ( |
79 b'', | |
80 b'relative', | |
81 None, | |
82 _(b'point to source using a relative path'), | |
83 ), | |
79 ], | 84 ], |
80 _(b'[-U] [-B] SOURCE [DEST]'), | 85 _(b'[-U] [-B] SOURCE [DEST]'), |
81 helpcategory=command.CATEGORY_REPO_CREATION, | 86 helpcategory=command.CATEGORY_REPO_CREATION, |
82 norepo=True, | 87 norepo=True, |
83 ) | 88 ) |