reconstruct

vb reconstruct [OPTIONS] FILENAME DIRECTORY

Description

This command studies the artifacts (files) in DIRECTORY and reconstructs the VisionByte record from them. It places the new VisionByte repository in FILENAME. Subdirectories are read, files with leading . in the filename are ignored.

Options

-K, --keep-rid1

Read the filename of the artifact with RID=1 from the file .rid in DIRECTORY.

-P, --keep-private

Mark the artifacts listed in the file .private in DIRECTORY as private in the new VisionByte repository.

Examples

  • Reconstruct a repository from a deconstructed artifact directory

$ vb reconstruct mydemo.vbyte dir1
Reading files from directory "dir1"...

1
2
3
Building the Fossil repository...
  0.0% complete...
  33.3% complete...
  66.6% complete...
  100.0% complete...
project-id: 2f3da2184c92a4b7198a3ff262012d8387e12387
server-id: b488c931702e4a9d855d0650a65224647f293686
admin-user: ubuntu (initial password is "GAtjNf9Rhx")

See Also

See also

deconstruct