Fix the push_patch function to not always call refresh_patch
authorCatalin Marinas <catalin.marinas@gmail.com>
Tue, 23 Aug 2005 09:07:22 +0000 (10:07 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Tue, 23 Aug 2005 09:07:22 +0000 (10:07 +0100)
commita322940ba66cfb047676ad41a9ca1636d08c6d41
treeddb50c578f48ce2293b8c66eeecb20adb9f0df71
parent592c8fc3320e45cee37adfa239eae857e4326661
Fix the push_patch function to not always call refresh_patch

The refresh_patch() function should only be called when there was a
merge operation, otherwise push_patch() should only checkout the new
head.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/stack.py