Fossil

View Ticket
Login
2008-10-05
12:34 Fixed ticket [b3482d580e]: Cannot clone a repository db file plus 4 other changes artifact: 0f2f8da458 user: drh
12:34
Get cloning working for local files without the use of network I/O. Ticket [b3482d580e]. check-in: 9236f0c086 user: drh tags: trunk
2008-07-24
15:44 New ticket [b3482d580e] Cannot clone a repository db file. artifact: 6112b47d02 user: anonymous

Ticket Hash: 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
17.49 years ago
Created: 2008-07-24 15:44:56
17.69 years ago
Version Found In: 4b56350ecb
Description:
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