remote-bzr: reorganize the way 'wanted' works
commite56660a73f778546f7c40989d982ac2f21462975
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 25 May 2013 02:24:25 +0000 (24 21:24 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 28 May 2013 14:43:25 +0000 (28 07:43 -0700)
treeadde8af52f5dda4d3122cc8a5b1f5d864ec5d182
parenta8ffc3ade273c5d6b2383450f1b4970c2da89d7d
remote-bzr: reorganize the way 'wanted' works

If the user specified a list of branches, we ignore what the remote
repository lists, and simply use the branches directly. Since some
remotes don't report the branches correctly, this is useful.

Otherwise either fetch the repo, or the branch.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-bzr