lkml.org 
[lkml]   [2003]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: cset #'s stable?
On Tue, Oct 21, 2003 at 09:52:09AM -0700, Chris Wright wrote:
> * Frank Cusack (fcusack@fcusack.com) wrote:
> > Are changeset #'s stable?
> >
> > I'm specifically looking at linux-2.5/net/sunrpc/clnt.c,
> > "rev 1.1153.63.[123]" which I recorded earlier as 1.1153.48.[123].
>
> No, they are not. The key, however, is stable (bk changes -k -r<rev>,
> for example).

FWIW, it's easy to go back and forth as well, bash (pure sh?) functions
to do it:
REVTOKEY() {
if [ -z "$1" ]; then
echo "Usage: REVTOKEY revision-number"
else
if [ ! -f ChangeSet -a ! -f SCCS/s.ChangeSet ]; then
echo "Must be run from the base of a BitKeeper repositor
y"
else
echo -n "The key is: "
bk prs -r$1 -hnd:KEY: ChangeSet
fi
fi
}

KEYTOREV() {
if [ -z "$1" ]; then
echo "Usage: KEYTOREV key"
else
if [ ! -f ChangeSet -a ! -f SCCS/s.ChangeSet ]; then
echo "Must be run from the base of a BitKeeper repositor
y"
else
echo -n "The key is: "
bk prs -r$1 -hnd:REV: ChangeSet
fi
fi
}

--
Tom Rini
http://gate.crashing.org/~trini/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.051 / U:0.496 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site