Not a lot of time to write.  I'm on my way to the airport but need to
prepare by sync'ing some Fossil repositories onto a laptop.  I did a
"fossil sync -once -private http://..."; to push private branches to
another laptop, only to be hit with:

Error: Database error: UNIQUE constraint failed: private.rid: {INSERT
INTO private VALUES(148260)}

When I checked the private table of the recipient, indeed that RID was
already marked private, along with all the others from the private
branches I'm pushing.

Looks like something is getting done twice, perhaps...?

Yet the new artifacts do not show in /rcvfromlist nor /timeline.

My quick fix was to change "INSERT INTO private" to "INSERT OR IGNORE
INTO private" in content_put_ex() in content.c.  Making the same change
in content_new() didn't help, though maybe it would have avoided the
original problem.  I don't have time to check.

-- 
Andy Goth | <andrew.m.goth/at/gmail/dot/com>

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to