Hi, commit & branch command accept --date-override command switch.
Example: (f is alias of fossil. hashes like e384bf5187 can be found in the timeline page) # create branch based on the commit just a bit earlier than your backup files f branch new add-old e384bf5187 --date-override "2014-02-01 20:10:25" # checkout the generated branch f co eb38e8d80a # you can overwrite files by unzipped backup here and commit f commit -m "added old version" --date-override "2014-02-01 20:10:30" # close branch f tag add --raw closed add-old # checkout the latest commit f co bad688808d # now you can continue from latest version. Does this satisfy your need? regards, Aki #sorry if this message is duplicated. I sent a message with attached image 1 hour ago, but that is mysteriously not listed in http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/, so I'm re-sending without attachment. On Sun, Feb 2, 2014 at 5:32 AM, Andy Bradford <amb-fos...@bradfords.org>wrote: > Thus said to...@acm.org on Sat, 01 Feb 2014 20:23:48 +0200: > > > I would like to add older code (kept manually until now in ZIP files) > > to a fossil repository already containing some newer versions. Is > > there a way to add older versions manually, perhaps by specifying the > > date via a command switch, or by using the actual file dates for each > > of the files? > > It certainly is possible to do this, though I don't know if there is any > code to automate the process for it anywhere. The import tools (e.g. > cvs2fossil and fossil import) have the ability to do this. > > Basically, you would have to construct the artifacts for fossil and then > import them somehow. Perhaps you could use fossil deconstruct, add the > things you want, and then use fossil reconstruct to get it all in? > > Hopefully someone will have a better response. > > Andy > -- > TAI64 timestamp: 4000000052ed5a01 > > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users