View Ticket
Not logged in
Ticket UUID: b3482d580e2119d0ea1fe084708ebd463c1381d8
Title: Cannot clone a repository db file
Status: Fixed Type: Code_Defect
Severity: Minor Priority: Immediate
Subsystem: one Resolution: Fixed
Last Modified: 2008-10-05 12:34:46
Version Found In: 4b56350ecb
Description & Comments:
Please look at this:
  fossil clone a b c
Fossil will answer:
  Usage: fossil clone FILE-OR-URL NEW-REPOSITORY
Ok, fine so far! But if I try to use the FILE part of the FILE-OR-URL, Fossil fail to obey:
  mkdir clonetest
  cd clonetest
  fossil new myrepo1
  fossil clone myrepo1 myrepo2
Fossil answer to me:
  fossil: cannot ATTACH database within transaction
  ATTACH DATABASE '/Users/cle/Temp/clonetest/myrepo1' AS orig