diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2007-07-23 15:51:49 -0700 |
---|---|---|
committer | Simon Hausmann <simon@lst.de> | 2007-08-02 09:40:25 +0200 |
commit | a4eba020f96e1b85f856a992782b8bb2bab6a719 (patch) | |
tree | ab8524591c0e6e46733ac7dcb0ccdc80f7655ca7 /contrib/fast-import | |
parent | RelNotes 1.5.3 updates before -rc4 (diff) | |
download | tgif-a4eba020f96e1b85f856a992782b8bb2bab6a719.tar.xz |
Sort output of "p4 change" in incremental import before further
processing
P4 change outputs the changes sorted for each directory separately. We
want the global ordering on the changes, hence we sort.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib/fast-import')
-rwxr-xr-x | contrib/fast-import/git-p4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 1f5a56ee7f..f00c691a7b 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -1296,7 +1296,7 @@ class P4Sync(Command): changeNum = line.split(" ")[1] changes.append(changeNum) - changes.reverse() + changes.sort() if len(self.maxChanges) > 0: changes = changes[0:min(int(self.maxChanges), len(changes))] |