[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DOS Command to get current branch?

From: Pierre Asselin
Subject: Re: DOS Command to get current branch?
Date: Fri, 5 Nov 2004 01:36:32 +0000 (UTC)
User-agent: tin/1.6.1-20030810 ("Mingulay") (UNIX) (NetBSD/1.5.4_ALPHA (i386))

Talos <address@hidden> wrote:

> My question is:  Is there a DOS command that let's you know what
> branch name the sandbox you're currently is?

Run "cvs status <some-file-or-other>" and look for any "sticky tag"
listed in the output.  If your sandbox is on the branch, you'll see
your branch name there.  If you're on the trunk, it will be empty.

Of course that only checks the one file, not the entire sandbox,
but if you only tag and branch entire projects it's a good
sanity check.

(This assumes that you have cvs or cvsnt installed somewhere
on your path as "cvs.exe'.)

pa at panix dot com

reply via email to

[Prev in Thread] Current Thread [Next in Thread]