hi,

Please use this,

#!/bin/sh

patterns=(
        '?'
        'Locally Added'
        'Locally Modified'
        )

for i in "${patter...@]}"
do
  cvs -Q status -R . | grep -i "$i"

use this link:- "http://www.freshblurbs.com/cvs-status-one-svn-bash-script";


done



Cheers
Amaresh [image: cid:[email protected]]

    +91-9886720068

--- On *Thu, 26/2/09, Michael Haggerty <[email protected]>* wrote:

From: Michael Haggerty <[email protected]>
Subject: Re: s the cvs status always shows tags in ordered?
To: "Larry Jones" <[email protected]>
Cc: "hezjing" <[email protected]>, [email protected]
Date: Thursday, 26 February, 2009, 9:50 AM

Larry Jones wrote:
> hezjing writes:
>> The output of cvs status -v .  looks like the following:
> [...]
>> Is the order of the tags guaranteed? That is the latest created tag
will be
>> displayed on top, and the oldest one displayed at the bottom?
>
> No.

That's unfortunate.

In my experience, it seems to be that typically the ordering *is*
preserved.  Indeed, we use this assumption to help the heuristics that
choose symbol parents in cvs2svn; e.g., the decision of whether branch
1.5.2.7.4 was applied to branch 1.5.2 or 1.5.2.7.2 (or even 1.5.2.7.6,
which can happen if branch 1.5.2.7.4 was created, deleted, then
recreated).  Resolving this ambiguity is a big headache for cvs2svn and
the apparent reverse-chronological ordering of symbols was one of the
straws that I grasped at.

Larry, do you know of specific situations where the symbol ordering is
not preserved, or are you just reluctant to guarantee that it won't
happen in the future?

I would also like to encourage CVS developers *not* to disturb the
ordering gratuitously :-)

Michael




Thanks & Regards,

Hare Krishna.....
मन मेरा मंदिर हरी मेरी पूजा
हरी से बडा नही कोई दूजा

Amaresh Chandra Das
Mobile: 91-9886720068
Mail: [email protected]
        [email protected]

"Walk with a hope in your heart....you will never   walk alone"

Reply via email to