Veracity Q&A home login about faq

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%20Browning's gravatar image

Jace Browning
676213245


Yes, there are some inconsistencies there. I do have a few items logged to address this.

link

answered Jan 31 at 16:42

Jeff%20Hostetler's gravatar image

Jeff Hostetler ♦♦
1.2k720

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4

Asked: Jan 31 at 16:10

Seen: 165 times

Last updated: Jan 31 at 16:42

powered by OSQA