info-cvs
[Top][All Lists]
Advanced

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

Re: s the cvs status always shows tags in ordered?


From: Amaresh Chandra Das
Subject: Re: s the cvs status always shows tags in ordered?
Date: Thu, 26 Feb 2009 10:54:18 +0530

hi,


Please use this,

#!/bin/sh

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

for i in "address@hidden"
do
cvs -Q status -R . | grep -i "$i"

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


done


Cheers 
Amaresh cid:image001.gif@01C94FB6.D222FBC0

+91-9886720068

--- On Thu, 26/2/09, Michael Haggerty <address@hidden> wrote:
From: Michael Haggerty <address@hidden>
Subject: Re: s the cvs status always shows tags in ordered?
To: "Larry Jones" <address@hidden>
Cc: "hezjing" <address@hidden>, address@hidden
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: address@hidden
        address@hidden

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

reply via email to

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