From a5830b96033a65d88bcad83596cbe8600098b048 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 25 Jun 2009 16:21:32 +0000 Subject: [PATCH] Restore $Id$ and add script to do so. --- buffer-poll.c | 2 +- buffer.c | 2 +- cfg.c | 2 +- client.c | 2 +- cmd-clear-history.c | 2 +- cmd-find-window.c | 2 +- cmd-lock-server.c | 2 +- cmd-server-info.c | 2 +- cmd-set-option.c | 2 +- cmd-set-window-option.c | 2 +- cmd-split-window.c | 2 +- cmd-string.c | 2 +- cmd.c | 2 +- grid-view.c | 2 +- grid.c | 2 +- input.c | 2 +- log.c | 2 +- names.c | 2 +- screen-redraw.c | 2 +- screen-write.c | 2 +- screen.c | 2 +- server-fn.c | 2 +- server-msg.c | 2 +- server.c | 2 +- status.c | 2 +- tmux.1 | 2 +- tmux.c | 2 +- tmux.h | 2 +- tools/fix-ids.sh | 8 ++++++++ tty-write.c | 2 +- tty.c | 2 +- utf8.c | 2 +- window-choose.c | 2 +- window-more.c | 2 +- window.c | 2 +- 35 files changed, 42 insertions(+), 34 deletions(-) create mode 100644 tools/fix-ids.sh diff --git a/buffer-poll.c b/buffer-poll.c index b3e4a8de..7015f3c6 100644 --- a/buffer-poll.c +++ b/buffer-poll.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer-poll.c,v 1.2 2009/06/25 06:05:47 nicm Exp $ */ +/* $Id: buffer-poll.c,v 1.13 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/buffer.c b/buffer.c index 61e3bf09..fa9fb35d 100644 --- a/buffer.c +++ b/buffer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: buffer.c,v 1.2 2009/06/25 06:05:47 nicm Exp $ */ +/* $Id: buffer.c,v 1.7 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/cfg.c b/cfg.c index 13a03ef1..1fd7524f 100644 --- a/cfg.c +++ b/cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfg.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ +/* $Id: cfg.c,v 1.18 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/client.c b/client.c index 7969e6af..8708be99 100644 --- a/client.c +++ b/client.c @@ -1,4 +1,4 @@ -/* $OpenBSD: client.c,v 1.2 2009/06/05 07:15:58 nicm Exp $ */ +/* $Id: client.c,v 1.50 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/cmd-clear-history.c b/cmd-clear-history.c index 95c9992a..d012c043 100644 --- a/cmd-clear-history.c +++ b/cmd-clear-history.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-clear-history.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ +/* $Id: cmd-clear-history.c,v 1.3 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott diff --git a/cmd-find-window.c b/cmd-find-window.c index 213935dd..1e024efd 100644 --- a/cmd-find-window.c +++ b/cmd-find-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-find-window.c,v 1.2 2009/06/24 22:49:56 nicm Exp $ */ +/* $Id: cmd-find-window.c,v 1.10 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott diff --git a/cmd-lock-server.c b/cmd-lock-server.c index 52352c0f..d1244002 100644 --- a/cmd-lock-server.c +++ b/cmd-lock-server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-lock-server.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ +/* $Id: cmd-lock-server.c,v 1.4 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/cmd-server-info.c b/cmd-server-info.c index 865186c7..678800c1 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-server-info.c,v 1.2 2009/06/03 19:37:27 nicm Exp $ */ +/* $Id: cmd-server-info.c,v 1.19 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/cmd-set-option.c b/cmd-set-option.c index f6a161b2..5da336d7 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.2 2009/06/03 16:54:26 nicm Exp $ */ +/* $Id: cmd-set-option.c,v 1.62 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/cmd-set-window-option.c b/cmd-set-window-option.c index 64c14c06..69f7f8ec 100644 --- a/cmd-set-window-option.c +++ b/cmd-set-window-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-window-option.c,v 1.2 2009/06/25 06:00:45 nicm Exp $ */ +/* $Id: cmd-set-window-option.c,v 1.28 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/cmd-split-window.c b/cmd-split-window.c index 4b044d0f..c4214558 100644 --- a/cmd-split-window.c +++ b/cmd-split-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-split-window.c,v 1.2 2009/06/25 06:48:23 nicm Exp $ */ +/* $Id: cmd-split-window.c,v 1.15 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott diff --git a/cmd-string.c b/cmd-string.c index 16f8f5a4..6291fac5 100644 --- a/cmd-string.c +++ b/cmd-string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-string.c,v 1.2 2009/06/05 07:18:37 nicm Exp $ */ +/* $Id: cmd-string.c,v 1.17 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/cmd.c b/cmd.c index e652abd4..20e3eead 100644 --- a/cmd.c +++ b/cmd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd.c,v 1.2 2009/06/04 23:34:32 nicm Exp $ */ +/* $Id: cmd.c,v 1.97 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/grid-view.c b/grid-view.c index 77becddd..f8ee44ff 100644 --- a/grid-view.c +++ b/grid-view.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid-view.c,v 1.2 2009/06/24 22:04:18 nicm Exp $ */ +/* $Id: grid-view.c,v 1.13 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/grid.c b/grid.c index 98321779..6d82877a 100644 --- a/grid.c +++ b/grid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: grid.c,v 1.5 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: grid.c,v 1.20 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/input.c b/input.c index cef36d76..62efd6af 100644 --- a/input.c +++ b/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.8 2009/06/04 21:02:21 nicm Exp $ */ +/* $Id: input.c,v 1.86 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/log.c b/log.c index 51ad2f52..bf8bedc7 100644 --- a/log.c +++ b/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.2 2009/06/25 06:23:10 nicm Exp $ */ +/* $Id: log.c,v 1.14 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/names.c b/names.c index 638f1f17..02be77aa 100644 --- a/names.c +++ b/names.c @@ -1,4 +1,4 @@ -/* $OpenBSD: names.c,v 1.2 2009/06/03 04:03:16 ray Exp $ */ +/* $Id: names.c,v 1.7 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott diff --git a/screen-redraw.c b/screen-redraw.c index 76ea1148..a2ca1dcd 100644 --- a/screen-redraw.c +++ b/screen-redraw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-redraw.c,v 1.2 2009/06/25 05:56:44 nicm Exp $ */ +/* $Id: screen-redraw.c,v 1.38 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/screen-write.c b/screen-write.c index b0eec9c8..a60b126b 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.6 2009/06/03 23:37:30 nicm Exp $ */ +/* $Id: screen-write.c,v 1.51 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/screen.c b/screen.c index f8472938..e9273d48 100644 --- a/screen.c +++ b/screen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen.c,v 1.5 2009/06/24 22:51:47 nicm Exp $ */ +/* $Id: screen.c,v 1.87 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/server-fn.c b/server-fn.c index 9449842a..81116b1b 100644 --- a/server-fn.c +++ b/server-fn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-fn.c,v 1.2 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: server-fn.c,v 1.63 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/server-msg.c b/server-msg.c index 2bd6ef81..761e7bb1 100644 --- a/server-msg.c +++ b/server-msg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server-msg.c,v 1.3 2009/06/05 11:14:13 nicm Exp $ */ +/* $Id: server-msg.c,v 1.69 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/server.c b/server.c index 004f237a..fb886c20 100644 --- a/server.c +++ b/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.3 2009/06/24 22:49:56 nicm Exp $ */ +/* $Id: server.c,v 1.148 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/status.c b/status.c index 0200cfae..82f66166 100644 --- a/status.c +++ b/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.4 2009/06/04 21:43:24 nicm Exp $ */ +/* $Id: status.c,v 1.87 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/tmux.1 b/tmux.1 index de64cf3d..ac8dec01 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tmux.1,v 1.10 2009/06/03 16:54:26 nicm Exp $ +.\" $Id: tmux.1,v 1.100 2009-06-25 16:21:32 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" diff --git a/tmux.c b/tmux.c index e1707ab7..e09a5665 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.11 2009/06/25 06:54:32 nicm Exp $ */ +/* $Id: tmux.c,v 1.134 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/tmux.h b/tmux.h index 8a75191d..9b4709e1 100644 --- a/tmux.h +++ b/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.13 2009/06/25 06:23:10 nicm Exp $ */ +/* $Id: tmux.h,v 1.340 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/tools/fix-ids.sh b/tools/fix-ids.sh new file mode 100644 index 00000000..66b78c26 --- /dev/null +++ b/tools/fix-ids.sh @@ -0,0 +1,8 @@ +# $Id: fix-ids.sh,v 1.1 2009-06-25 16:21:32 nicm Exp $ + +for i in *.[ch] tmux.1; do + (head -1 $i|grep '$OpenBSD' >/dev/null) || continue + mv $i $i~ || exit + sed 's/\$OpenBSD.* \$/$Id: fix-ids.sh,v 1.1 2009-06-25 16:21:32 nicm Exp $/' $i~ >$i || exit + echo $i +done diff --git a/tty-write.c b/tty-write.c index 5f885fd4..def979ad 100644 --- a/tty-write.c +++ b/tty-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty-write.c,v 1.3 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: tty-write.c,v 1.17 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/tty.c b/tty.c index fec7c0e4..5848f69f 100644 --- a/tty.c +++ b/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.7 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: tty.c,v 1.106 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/utf8.c b/utf8.c index 74ad512d..f45eed47 100644 --- a/utf8.c +++ b/utf8.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utf8.c,v 1.3 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: utf8.c,v 1.9 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott diff --git a/window-choose.c b/window-choose.c index 81a39a9c..7dea8c1d 100644 --- a/window-choose.c +++ b/window-choose.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-choose.c,v 1.2 2009/06/24 23:00:31 nicm Exp $ */ +/* $Id: window-choose.c,v 1.16 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott diff --git a/window-more.c b/window-more.c index fc371a8a..982038ed 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window-more.c,v 1.3 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: window-more.c,v 1.32 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott diff --git a/window.c b/window.c index d1dc40f6..4e917488 100644 --- a/window.c +++ b/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.6 2009/06/25 06:15:04 nicm Exp $ */ +/* $Id: window.c,v 1.84 2009-06-25 16:21:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott