git-p4: sort client views by reverse View number
commitdf5ed9077f18985a73f00fe2bacc2961598f73dc
authorGary Gibbons <ggibbons@perforce.com>
Mon, 2 Jan 2012 23:05:51 +0000 (2 18:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jan 2012 22:10:02 +0000 (3 14:10 -0800)
treeac15614472351175a06e872da6f96427dd175291
parentb10048d0e9c4a209997c3b7f44021af15f88d768
git-p4: sort client views by reverse View number

Correct view sorting to support the Perforce order,
where client views are ordered and later views
override earlier view mappings.

[pw: one test now succeeds]

Signed-off-by: Gary Gibbons <ggibbons@perforce.com>
Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/fast-import/git-p4
t/t9809-git-p4-client-view.sh