Commit 05f0d0c1190f0a3922d48d9f35c6ef6f3c2048a7

Carlos Martín Nieto 2014-08-28T13:36:58

graph: fix ahead-behind logic When we see PARENT1, it means there is a local commit and thus we are ahead. Likewise, seeing PARENT2 means that the upstream branch has a commit and we are one more behind. The logic is currently reversed. Correct it. This fixes #2501.