~mdw
/
stgit
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update .git/refs/heads/base after patch deletion
[stgit]
/
stgit
/
stack.py
diff --git
a/stgit/stack.py
b/stgit/stack.py
index
556c40e
..
9ccbb1e
100644
(file)
--- a/
stgit/stack.py
+++ b/
stgit/stack.py
@@
-366,6
+366,7
@@
class Series:
return names
def get_base_file(self):
return names
def get_base_file(self):
+ self.__begin_stack_check()
return self.__base_file
def get_protected(self):
return self.__base_file
def get_protected(self):
@@
-694,6
+695,7
@@
class Series:
f = file(self.__unapplied_file, 'w+')
f.writelines([line + '\n' for line in unapplied])
f.close()
f = file(self.__unapplied_file, 'w+')
f.writelines([line + '\n' for line in unapplied])
f.close()
+ self.__begin_stack_check()
def forward_patches(self, names):
"""Try to fast-forward an array of patches.
def forward_patches(self, names):
"""Try to fast-forward an array of patches.