fast-export: Set revs.topo_order before calling setup_revisions
authorElijah Newren <newren@gmail.com>
Fri, 26 Jun 2009 04:48:27 +0000 (22:48 -0600)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Jun 2009 21:10:09 +0000 (14:10 -0700)
commit668f3aa776bcd293de08413bf1b25b91c15f1b01
tree19be18f96fb1a6f1fe6138eeaecfdb57b4eda193
parent916e1373fb86db9d7019de4e7e74e39c9474a153
fast-export: Set revs.topo_order before calling setup_revisions

setup_revisions sets a variety of flags based on the setting of other
flags, such as setting the limited flag when topo_order is set.  To avoid
circumventing any invariants created by setup_revisions, we set
revs.topo_order before calling it rather than after.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fast-export.c