Re: cset #'s stable?

From: Tom Rini
Date: Fri Oct 24 2003 - 17:22:22 EST


On Tue, Oct 21, 2003 at 09:52:09AM -0700, Chris Wright wrote:
> * Frank Cusack (fcusack@xxxxxxxxxxx) 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/