Summary:
Previously, if the user had an svn or git push target set up, we would
bail from the normal push --to process even if the users were pushing to a
different location. This is silly. Instead, let's only bail if the user is
actually pushing to an svn or git destination repository.
This bug was discovered while testing the updated svn-to-hg sync scripts.
Differential Revision: D7023173
fbshipit-source-id: bec5e069bc043c2f73fb334bdaeb18a6fad93eef
Summary:
Today, there are cases where this function will be called but bookmarks
will not have been populated. We will eliminate one of these paths next,
but for safety, let's make sure we abort gracefully rather than with a
stacktrace by referencing something that does not exist.
Differential Revision: D7023172
fbshipit-source-id: 8e3b2afe9fe3b9d74d42aa5b947229418ec8c3ad