[PATCHv2 0/3] git-p4: fixing p4ChangesForPaths
- From
Luke Diamand <luke@diamand.org>
- Date
- Dec 19, 2015, 09:39 UTC
- Message-ID
- <1450517980-1744-1-git-send-email-luke@diamand.org>
James Farwell found a bug in p4ChangesForPaths() when handling changes across multiple depot paths.
Sam Hocevar had already submitted a change to the same function to get P4 to do queries across all of the depot paths, in order to reduce server queries, which had the side effect of fixing James' problem.
This followup just fixes Sam's original fix to restore the behavior of p4ChangesForPaths() so that it returns a sorted list of changes. That fixes a failing a testcase.
Luke Diamand (1): git-p4: failing test case for skipping changes with multiple depots
Sam Hocevar (2): git-p4: support multiple depot paths in p4 submit git-p4: reduce number of server queries for fetches
git-p4.py | 55 +++++++++++++++++++++++++++---------------------- t/t9818-git-p4-block.sh | 28 ++++++++++++++++++++++++- 2 files changed, 57 insertions(+), 26 deletions(-)
-- 2.6.2.474.g3eb3291