public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* how to fix timestamps in bk repo?
@ 2004-06-04  8:19 Jasper Spaans
  2004-06-04 15:34 ` Jeff Garzik
  2004-06-04 15:56 ` Larry McVoy
  0 siblings, 2 replies; 4+ messages in thread
From: Jasper Spaans @ 2004-06-04  8:19 UTC (permalink / raw)
  To: Larry McVoy, linux-kernel

Hi Larry,

Is it possible to reset the (BK-)timestamps on the following files in the
http://linus.bkbits.net:8080/linux-2.5 repository? Somehow, they've gotten a
timestamp which lies in the future, causing lots of warnings when I use a bk
exported tree.

./drivers/base/class.c
./drivers/pci/hotplug/rpaphp_pci.c
./drivers/pci/hotplug/rpaphp_slot.c
./drivers/pci/hotplug/rpaphp_vio.c
./include/linux/kobject.h
./lib/kobject.c

Regards,
-- 
Jasper Spaans                                       http://jsp.vs19.net/
 10:06:49 up 9970 days, 53 min, 0 users, load average: 6.76 6.14 5.69
  -... .- -.. --. . .-. -... .- -.. --. . .-. -... .- -.. --. . .-.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to fix timestamps in bk repo?
  2004-06-04  8:19 how to fix timestamps in bk repo? Jasper Spaans
@ 2004-06-04 15:34 ` Jeff Garzik
  2004-06-04 15:56 ` Larry McVoy
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-06-04 15:34 UTC (permalink / raw)
  To: Jasper Spaans; +Cc: Larry McVoy, linux-kernel

Jasper Spaans wrote:
> Hi Larry,
> 
> Is it possible to reset the (BK-)timestamps on the following files in the
> http://linus.bkbits.net:8080/linux-2.5 repository? Somehow, they've gotten a
> timestamp which lies in the future, causing lots of warnings when I use a bk
> exported tree.
> 
> ./drivers/base/class.c
> ./drivers/pci/hotplug/rpaphp_pci.c
> ./drivers/pci/hotplug/rpaphp_slot.c
> ./drivers/pci/hotplug/rpaphp_vio.c
> ./include/linux/kobject.h
> ./lib/kobject.c


Sounds like a local problem.  I bet this will fix it:
	ntpdate time.nist.gov
	bk -r clean
	bk -r co -q

The timestamps on checked-out files are not generated from any BitKeeper 
metadata, but instead reflect the machine's system time when the file 
was checked out.

	Jeff



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to fix timestamps in bk repo?
  2004-06-04  8:19 how to fix timestamps in bk repo? Jasper Spaans
  2004-06-04 15:34 ` Jeff Garzik
@ 2004-06-04 15:56 ` Larry McVoy
  2004-06-04 18:05   ` Jasper Spaans
  1 sibling, 1 reply; 4+ messages in thread
From: Larry McVoy @ 2004-06-04 15:56 UTC (permalink / raw)
  To: Jasper Spaans; +Cc: linux-kernel

On Fri, Jun 04, 2004 at 10:19:26AM +0200, Jasper Spaans wrote:
> Is it possible to reset the (BK-)timestamps on the following files in the
> http://linus.bkbits.net:8080/linux-2.5 repository? Somehow, they've gotten a
> timestamp which lies in the future, causing lots of warnings when I use a bk
> exported tree.

Sorry, the timestamps are part of the BK metadata and there isn't any way
to alter them after the fact.  

I'd suggest you not use the -T option to export or write a script that 
looks for timestamps in the future and fix them.

For everyone else, please keep your clocks in sync.  Whoever generated
these deltas must be running a very old version of BK (which is a license
violation by the way [whoohoo, we can now have 3 weeks of flames about
that horrible BK license that if people were obeying this wouldn't
have happened]).  Current versions of BK insist that your clock isn't
off by more than 24 hours (I suspect that this works only if you have
a net connection though, I don't remember).
-- 
---
Larry McVoy                lm at bitmover.com           http://www.bitkeeper.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: how to fix timestamps in bk repo?
  2004-06-04 15:56 ` Larry McVoy
@ 2004-06-04 18:05   ` Jasper Spaans
  0 siblings, 0 replies; 4+ messages in thread
From: Jasper Spaans @ 2004-06-04 18:05 UTC (permalink / raw)
  To: Larry McVoy; +Cc: linux-kernel

On Fri, Jun 04, 2004 at 08:56:13AM -0700, Larry McVoy wrote:
> > Is it possible to reset the (BK-)timestamps on the following files in the
> > http://linus.bkbits.net:8080/linux-2.5 repository? Somehow, they've gotten a
> > timestamp which lies in the future, causing lots of warnings when I use a bk
> > exported tree.
> 
> Sorry, the timestamps are part of the BK metadata and there isn't any way
> to alter them after the fact.  

Ack. I just tried something with the following result:

---8<---
# This is a BitKeeper generated diff -Nru style patch.
#
# drivers/base/class.c
#   2004/06/04 19:55:06+02:00 spaans@spaans.vs19.net +0 -1
#   Fix timestamp
# 
# drivers/base/class.c
#   2004/06/04 19:54:56+02:00 spaans@spaans.vs19.net +1 -0
# 
# ChangeSet
#   2004/06/04 19:55:32+02:00 spaans@spaans.vs19.net 
#   class.c:
#     Fix timestamp
# 
---8<---

Can anyone confirm that importing this does the trick? If so, I'll whip up
the 'patch' for all six files.

Regards,
-- 
Jasper Spaans                                       http://jsp.vs19.net/
 19:56:31 up 9970 days, 10:43, 0 users, load average: 6.19 6.08 5.67
  -... .- -.. --. . .-. -... .- -.. --. . .-. -... .- -.. --. . .-.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-04 18:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-04  8:19 how to fix timestamps in bk repo? Jasper Spaans
2004-06-04 15:34 ` Jeff Garzik
2004-06-04 15:56 ` Larry McVoy
2004-06-04 18:05   ` Jasper Spaans

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox