Re: [fossil-users] scrub --private doesn't remove new private branch

2012-12-20 Thread Maxim Khitrov
On Wed, Dec 19, 2012 at 1:05 PM, Maxim Khitrov m...@mxcrypt.com wrote:
 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?

Anyone? Is this the expected behavior or a bug?

- Max
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] scrub --private doesn't remove new private branch

2012-12-20 Thread Richard Hipp
On Thu, Dec 20, 2012 at 8:30 AM, Maxim Khitrov m...@mxcrypt.com wrote:


 Anyone? Is this the expected behavior or a bug?



It sounds like a bug, but I've been busy with other things and have not had
an opportunity to investigate.

-- 
D. Richard Hipp
d...@sqlite.org
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] scrub --private doesn't remove new private branch

2012-12-19 Thread Maxim Khitrov
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
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users