It seems like 'export' and 'zip' perform the same function with the only difference being the format of the exported source code. Why do these two commands take different arguments?
$ vv version
1.5.1.10659 (e208c4df69) [32-bit]
$ vv help export
Export a repository version to a non-version-controlled directory
Usage: vv.exe export OPTIONS REPOSITORY [path]
Possible options:
-r [--rev] ARG : Use the changeset identified by this revision identifier
--tag ARG : Use the changeset identified by this tag
-b [--branch] ARG : Use the changeset identified by the head of this branch
$ vv help zip
Export a repository version to a zip file
Usage: vv.exe zip filename.zip
Possible options:
--repo ARG : The repository descriptor name
-r [--rev] ARG : Use the changeset identified by this revision identifier
--tag ARG : Use the changeset identified by this tag
-b [--branch] ARG : Use the changeset identified by the head of this branch
I would like to be able to use 'export' from within a repository working copy. Or to simplify, 'export' and 'zip' could be combined (with one command aliasing the other) with the determination of export type either based on the presence of ".zip" at the end of the export location or a "--zip" argument.
asked
Jan 31 at 16:10
Jace Browning
676●21●32●45