repopick: allow specifying a topic to pick all commits from

Change-Id: I4fb60120794a77986bf641de063a8d41f4f45a23
(cherry picked from commit 2d284aeccd793b6d9c97bc396ea305b764eb4259)