* [9fans] snapshot history?
@ 2006-03-10 0:12 rog
2006-03-10 7:00 ` Charles Forsyth
0 siblings, 1 reply; 5+ messages in thread
From: rog @ 2006-03-10 0:12 UTC (permalink / raw)
To: 9fans
has anyone modified history(1) so that it can use fossil's snapshots?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] snapshot history?
2006-03-10 0:12 [9fans] snapshot history? rog
@ 2006-03-10 7:00 ` Charles Forsyth
2006-03-10 18:19 ` Russ Cox
0 siblings, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2006-03-10 7:00 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 21 bytes --]
history -d snap ...
[-- Attachment #2: Type: message/rfc822, Size: 2064 bytes --]
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: [9fans] snapshot history?
Date: Fri, 10 Mar 2006 00:12:59 +0000
Message-ID: <05292d1025df2e3ec72f99a20ee85165@vitanuova.com>
has anyone modified history(1) so that it can use fossil's snapshots?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] snapshot history?
2006-03-10 7:00 ` Charles Forsyth
@ 2006-03-10 18:19 ` Russ Cox
2006-03-10 18:28 ` Charles Forsyth
0 siblings, 1 reply; 5+ messages in thread
From: Russ Cox @ 2006-03-10 18:19 UTC (permalink / raw)
To: 9fans
[-- Attachment #1: Type: text/plain, Size: 113 bytes --]
i don't think so. there is an extra layer
of times in the snap directory, and
history doesn't know about it.
[-- Attachment #2: Type: message/rfc822, Size: 5402 bytes --]
[-- Attachment #2.1.1: Type: text/plain, Size: 21 bytes --]
history -d snap ...
[-- Attachment #2.1.2: Type: message/rfc822, Size: 2064 bytes --]
From: rog@vitanuova.com
To: 9fans@cse.psu.edu
Subject: [9fans] snapshot history?
Date: Fri, 10 Mar 2006 00:12:59 +0000
Message-ID: <05292d1025df2e3ec72f99a20ee85165@vitanuova.com>
has anyone modified history(1) so that it can use fossil's snapshots?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [9fans] snapshot history?
2006-03-10 18:19 ` Russ Cox
@ 2006-03-10 18:28 ` Charles Forsyth
2006-03-10 18:30 ` Russ Cox
0 siblings, 1 reply; 5+ messages in thread
From: Charles Forsyth @ 2006-03-10 18:28 UTC (permalink / raw)
To: 9fans
> i don't think so. there is an extra layer
> of times in the snap directory, and
> history doesn't know about it.
it seems to try
if(strstr(ndump, "snap")){
fd = open(b, OREAD);
if(fd < 0)
continue;
n = dirreadall(fd, &dir);
close(fd);
if(n == 0)
continue;
for(i = n-1; i > 0; i--){
if(dir[i].mtime > t0)
break;
}
sprint(b, "/n/%s/%.4d/%.2d%.2d/%s%s", ndump,
tm->year+1900, tm->mon+1, tm->mday, dir[i].name, f);
free(dir);
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-03-10 18:30 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-10 0:12 [9fans] snapshot history? rog
2006-03-10 7:00 ` Charles Forsyth
2006-03-10 18:19 ` Russ Cox
2006-03-10 18:28 ` Charles Forsyth
2006-03-10 18:30 ` Russ Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).