~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use get/set_name for a stack's name.
[stgit]
/
stgit
/
commands
/
sync.py
diff --git
a/stgit/commands/sync.py
b/stgit/commands/sync.py
index
8359061
..
e769602
100644
(file)
--- a/
stgit/commands/sync.py
+++ b/
stgit/commands/sync.py
@@
-85,7
+85,7
@@
def func(parser, options, args):
# branch
remote_series = crt_series
stgit.commands.common.crt_series = crt_series = stack.Series()
# branch
remote_series = crt_series
stgit.commands.common.crt_series = crt_series = stack.Series()
- if options.branch == crt_series.get_
branch
():
+ if options.branch == crt_series.get_
name
():
raise CmdException, 'Cannot synchronise with the current branch'
remote_patches = remote_series.get_applied()
raise CmdException, 'Cannot synchronise with the current branch'
remote_patches = remote_series.get_applied()