Fix args for embedded repo
commit9c78f775776bc5be58ea65156f713da0f41c8296
authormwilliams <mwilliams@fb.com>
Wed, 20 Mar 2013 23:22:43 +0000 (20 16:22 -0700)
committerSara Golemon <sgolemon@fb.com>
Thu, 21 Mar 2013 23:50:55 +0000 (21 16:50 -0700)
tree16a93165d8b41853e8944eae564d0ea79356f87a
parent97eb859975667234608b50ac485964fcba1f6bed
Fix args for embedded repo

When we generate a binary with an embedded repo,
we add various args (-vRepo.Authoritative etc) to the end
of the command line. But the argument "--" is taken to mean
"pass the rest of the args to the script". So if you use
"--" on such a binary, it gets rather badly broken.

Reorder the args so that the inserted ones come first.
hphp/hhvm/main.cpp