info-cvs
[Top][All Lists]
Advanced

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

Re: CVS log for a removed branch?


From: Yaron Yogev
Subject: Re: CVS log for a removed branch?
Date: Sat, 22 Aug 2009 21:53:24 -0700 (PDT)
User-agent: G2/1.0

On Aug 19, 6:04 am, Ricardo Ramos <address@hidden>
wrote:
> Hi!
>
> First of all, please forgive me for any less-clear statement, I'm a beginner
> using CVS.
>
> My problem is the following: how do I get the CVS log for a branch that (I
> supposed so, not sure...) was removed? Or, even better, how do I get a CVS
> log for HEAD and all the branches? (I'm not getting results for my specific
> branch using cvs log, that's what makes me assume the branch was removed
> although it seems to be possible to checkout the files from there, or at
> least you can find some files related the branch).
>
> The root of the problem is: I was working during an year on a project,
> which, for about a month, I was working on a specific branch. When that
> branch was merged the person that did it commited all the files with his
> account. I'm now trying to get some stats but it seems the lines of code
> from that branch aren't getting counted. What can I do?
>
> Best regards,
>
> Zubr

Hi Ricardo,

First of all: are you able to check out the files using that branch
name ?
If you have trouble accessing the files, it might be due to file
permissions.
See this: http://ximbiot.com/cvs/manual/cvs-1.12.13/cvs_2.html#SEC13

For seeing only log entries related to branch B1 do "cvs log -rB1
[files ...]".
Note that you should put the branch name immediately after the "-r"
flag.

Other than this: It is not clear from your description what your
problem is: what do you mean when you say "the lines of code
from that branch aren't getting counted" ?
It is also not clear whether you committed your changed on the branch
and the other person merged them to the trunk and committed to the
trunk, or you never committed any of your changes and the other person
had committed them on the branch.
It should not matter who did the merge from the branch, unless file
permissions were set to restrict access by some of the users.

HTH,

Yaron Yogev
IT Software Developer


reply via email to

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