Hello,

I was trying to remove a private branch from the repository, but the
scrub --private command didn't work as expected. The following
commands are executed on Windows 7 using fossil 1.24 (renamed to fs):

----
D:\>fs clone https://www.fossil-scm.org/ fossil-scm.fossil
D:\>mkdir fossil-scm
D:\>cd fossil-scm
D:\>fs open ..\fossil-scm.fossil
D:\>fs branch new --private private trunk
D:\>fs scrub --private
Scrubbing the repository will permanently delete information.
Changes cannot be undone.  Continue (y/N)? y
fs: SQLITE_ERROR: no such table: main.delta
fs: no such table: main.delta
CREATE INDEX IF NOT EXISTS delta_i1 ON delta(srcid);

CREATE TABLE IF NOT EXISTS shun(
  uuid UNIQUE,
  mtime INTEGER,
  scom TEXT
);

CREATE TABLE IF NOT EXISTS private(rid INTEGER PRIMARY KEY);

CREATE TABLE IF NOT EXISTS concealed(
  hash TEXT PRIMARY KEY,
  mtime INTEGER,
  content TEXT
);


If you have recently updated your fossil executable, you might
need to run "fossil all rebuild" to bring the repository
schemas up to date.

D:\>fs ui
----

The private branch that I created is still there in the timeline. I'm
also not sure what causes the errors about missing tables. Running
rebuild doesn't seem to help. Am I doing something wrong?

- Max
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to