Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/pactest/tests/sync110.py
diff options
context:
space:
mode:
authorXavier Chantry <shiningxc@gmail.com>2008-05-28 22:55:03 +0200
committerDan McGee <dan@archlinux.org>2008-06-04 16:25:31 -0500
commitd030d12542dabfe0b6c648f48d2ff08b4feb4d41 (patch)
treed660e45f69329b76f3483dee3018d80199ed4918 /pactest/tests/sync110.py
parent0966c33a72ce172526762ac988ee6edbbba07b52 (diff)
src/pacman/sync.c : cleanup of pacman_sync
By putting the search / group / info / list operations just after the -Sy op, we can simplify several checks : 1) the check for "missing targets". Since we took care of the above operations, we now have less cases to consider : * -Syu or -Su : we can proceed * -Sy : we can end now (this is actually a bugfix) * -S : this op requires targets, so exit with an error 2) the check to see if a transaction is needed. If we arrive at the end of the function, it is either because we have -Su or -S <targets> so we already know a transaction is needed there. Signed-off-by: Xavier Chantry <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'pactest/tests/sync110.py')
0 files changed, 0 insertions, 0 deletions