On Sat, Aug 30, 2014 at 3:40 PM, Andy Goth <andrew.m.g...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I'm working on a project where the first version given to me was far > from the first version that existed. Having nothing else to go on, I > used it as the initial check-in of my new Fossil repository. > > Now I have been given a few older versions. What's the best way to go > about putting them into the repository? > You can't. Or, at least, you can't link them into the tree of existing versions. The older version will become a new and independent graph. The reason is this: Each version has a "parent", the name of which is included in the manifest. You cannot add this to the manifest after the fact, since that would change the manifest and manifests are immutable. One could enhance Fossil to accept a new kind of tag that "changes" the parent of a check-in. We already have takes like this for changing the check-in comment and the check-in time. If such a tag existed, you would be able to add the older check-ins to the repo, then "reparent" what used to be your root check-in so that it was a child of when of the older check-ins you just added. But, as of this writing, no "reparent" tag exists. > > I know I can check them in with --allow-older and the --date-override > options, though this will produce a very funky timeline display. Is > there a better way? > > I could also make a whole new repository with everything committed in > the right order, but this is error-prone and, frankly, too OCD for my > liking. > > By the way, --date-override is documented for some commands (e.g. tag) > but not for commit. > > - -- > Andy Goth | <andrew.m.goth/at/gmail/dot/com> > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.22 (MingW32) > > iQEcBAEBAgAGBQJUAiiWAAoJELtYwrrr47Y4jesIAOILfX6anlRgkbneiISmjKQx > xuQgcmsqpof14dGsbCq8LAWaDsKVOMWw0pDefLoJBHVtYpfR5cR7cNkjLGA4WFNl > HKO8FqYHYjdPto16BMMKFK7paeGtuAernVZvyfsZRtBxAIg+LwdPXwivxBzSkMO4 > RIzGiK86AXtbSCo7fnRyAunPzyFDXxzOeujrgFJfPrxny8WemRh3rVSHjSC1fh33 > FwraAX1wHbVGA026iauOb3YSvunPy6OdsDGZWtqK9S65ZyQQjLJIrL9tWNdufjvF > XSt94qygfLSC02WkJ4vlWWKZLQtyXlP7To08m/XkQFg46yfDmYSEZm3G1b1H+FE= > =7rTV > -----END PGP SIGNATURE----- > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- 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