#include "run-command.h"
#include "vcs-svn/svndump.h"
#include "notes.h"
-#include "argv-array.h"
+#include "strvec.h"
static const char *url;
static int dump_from_file;
die_errno("Couldn't open svn dump file %s.", url);
} else {
svndump_proc.out = -1;
- argv_array_push(&svndump_proc.args, command);
- argv_array_push(&svndump_proc.args, "dump");
- argv_array_push(&svndump_proc.args, url);
- argv_array_pushf(&svndump_proc.args, "-r%u:HEAD", startrev);
+ strvec_push(&svndump_proc.args, command);
+ strvec_push(&svndump_proc.args, "dump");
+ strvec_push(&svndump_proc.args, url);
+ strvec_pushf(&svndump_proc.args, "-r%u:HEAD", startrev);
code = start_command(&svndump_proc);
if (code)