~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for initializing a branch for stgit from Emacs.
[stgit]
/
stgit
/
commands
/
goto.py
diff --git
a/stgit/commands/goto.py
b/stgit/commands/goto.py
index
b347920
..
99ae6c0
100644
(file)
--- a/
stgit/commands/goto.py
+++ b/
stgit/commands/goto.py
@@
-46,6
+46,8
@@
def func(parser, options, args):
trans.push_patch(pn, iw)
except transaction.TransactionHalted:
pass
+ elif patch in trans.hidden:
+ raise common.CmdException('Cannot goto a hidden patch')
else:
raise common.CmdException('Patch "%s" does not exist' % patch)
return trans.run(iw)