[Top][All Lists]

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

Re: branching dates

From: Jim Hyslop
Subject: Re: branching dates
Date: Thu, 15 Dec 2005 09:52:30 -0500
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Hash: SHA1

[restoring info-cvs list to recipients - please remember to "Reply All"]
Ajay_Yadav wrote:
> The branching was done some 2 years back n I need the exact date

If you have history enabled, and if the branch tag was created using
'rtag' instead of 'tag', then the 'history' command will tell you.

Otherwise, the best you can do is to come up with a range within which
the branch was created.

Find the latest timestamp at the branch point (the root of the branch).
This is the earliest the branch can possibly have been created. Find the
earliest timestamp on the branch. This is the latest the branch can
possibly have been created.

For example, if a log of a file shows:

symbolic names:
revision 1.3
date: 2005/12/08 09:23:04
revision 1.2:
date: 2005/12/08 08:22:21
date: 2005/12/09 14:43:21

The branch point is 1.2, so you know the branch cannot have been created
prior to Dec. 8 at 8:22 AM UTC. The first checkin on the branch was on
Dec. 9, so you know that's the latest the branch can possibly have been
created. Note that the timestamp of rev 1.3 is irrelevant - it is
possible to create a branch long after subsequent revisions have been
checked in on the trunk.

You'll have to do all this manually, there is no tool to do this.

- --
Jim Hyslop
Dreampossible: Better software. Simply.
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird -


reply via email to

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