|
2137.
|
|
|
Introduced in: 1.9
|
|
|
|
Predstavljen u: 1.9
|
|
Translated by
Almir Harba
|
|
|
|
Located in
en/help_topics/hooks.txt:156
|
|
2138.
|
|
|
Called when a stacked branch is activating its fallback locations. ![](/@@/translation-newline)
transform_fallback_location is called with (branch, url), and should ![](/@@/translation-newline)
return a new url. Returning the same url allows it to be used as-is, ![](/@@/translation-newline)
returning a different one can be used to cause the branch to stack on ![](/@@/translation-newline)
a closer copy of that fallback_location. Note that the branch cannot ![](/@@/translation-newline)
have history accessing methods called on it during this hook because ![](/@@/translation-newline)
the fallback locations have not been activated. When there are ![](/@@/translation-newline)
multiple hooks installed for transform_fallback_location, all are ![](/@@/translation-newline)
called with the url returned from the previous hook.The order is ![](/@@/translation-newline)
however undefined.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
en/help_topics/hooks.txt:158
|
|
2139.
|
|
|
CommandHooks ![](/@@/translation-newline)
------------
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
KomandneKuke ![](/@@/translation-newline)
------------
|
|
Translated by
Hamza Semic
|
|
Reviewed by
Samir Ribić
|
Shared: |
|
CommandHooks ![](/@@/translation-newline)
------------
|
|
|
Suggested by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:169
|
|
2140.
|
|
|
extend_command ![](/@@/translation-newline)
~~~~~~~~~~~~~~
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
proširiti_naredbu
|
|
Translated by
Almir Harba
|
|
Reviewed by
Samir Ribić
|
Shared: |
|
extend_command ![](/@@/translation-newline)
~~~~~~~~~~~~~~
|
|
|
Suggested by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:172
|
|
2141.
|
|
|
Introduced in: 1.13
|
|
|
|
Predstavljen u: 1.13
|
|
Translated by
Almir Harba
|
|
|
|
Located in
en/help_topics/hooks.txt:175
|
|
2142.
|
|
|
Called after creating a command object to allow modifications such as ![](/@@/translation-newline)
adding or removing options, docs etc. Called with the new ![](/@@/translation-newline)
bzrlib.commands.Command object.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Zahtjevati nakon pravljenja objekta komande za dopust promjena kao što je dodavanje ili mjenjanje opcija, docs, itd. zahtjevati sa novom bzrlib.commands.Command object.
|
|
Translated by
Maida
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:177
|
|
2143.
|
|
|
get_command ![](/@@/translation-newline)
~~~~~~~~~~~
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
dobiti_naredbu
|
|
Translated by
Almir Harba
|
|
Reviewed by
Samir Ribić
|
Shared: |
|
get_command ![](/@@/translation-newline)
~~~~~~~~~~~
|
|
|
Suggested by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:181
|
|
2144.
|
|
|
Introduced in: 1.17
|
|
|
|
Predstavljen u: 1.17
|
|
Translated by
Almir Harba
|
|
|
|
Located in
en/help_topics/hooks.txt:184 en/help_topics/hooks.txt:196
en/help_topics/hooks.txt:205 en/help_topics/hooks.txt:464
|
|
2145.
|
|
|
Called when creating a single command. Called with (cmd_or_None, ![](/@@/translation-newline)
command_name). get_command should either return the cmd_or_None ![](/@@/translation-newline)
parameter, or a replacement Command object that should be used for the ![](/@@/translation-newline)
command. Note that the Command.hooks hooks are core infrastructure. ![](/@@/translation-newline)
Many users will prefer to use bzrlib.commands.register_command or ![](/@@/translation-newline)
plugin_cmds.register_lazy.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
Pozvano pri kreiranju jedne komandePozvano sa (cmd_or_None, ![](/@@/translation-newline)
command_name). get_command treba vratiti ili cmd_or_None ![](/@@/translation-newline)
parametar, ili zamjenu za komandni objekat koji treba da bude korišten za ![](/@@/translation-newline)
komandu. Pazite na to da su Command.hooks kuke srž infrastrukture. ![](/@@/translation-newline)
Mnogo korisnika preferira koristiti bzrlib.commands.register_command ili ![](/@@/translation-newline)
plugin_cmds.register_lazy.
|
|
Translated by
Tarik Radončić
|
|
Reviewed by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:186
|
|
2146.
|
|
|
get_missing_command ![](/@@/translation-newline)
~~~~~~~~~~~~~~~~~~~
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
get_missing_command ![](/@@/translation-newline)
~~~~~~~~~~~~~~~~~~~
|
|
Translated and reviewed by
Samir Ribić
|
|
|
|
Located in
en/help_topics/hooks.txt:193
|