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: 1a550dcf168a77439ce4bb56e51bbb2530c15a27
server-id: 9f70a98f6b6d12c1c7db566eba65ab829fd099df
admin-user: ubuntu (initial password is "QWB2jnpm7h")

See Also

See also

deconstruct