http://defect.opensolaris.org/bz/show_bug.cgi?id=19238

Vladimir Kotal <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CAUSEKNOWN                  |ACCEPTED

--- Comment #1 from Vladimir Kotal <[email protected]> 2012-09-18 
11:27:06 UTC ---
This is not so easy. Ideally the history should also include the changesets
before the branched changesets. So, if we have something like this:

o 4  default
|
|     o 5  foo
|    /
|   /
o  o 3  foo
| /
|/
o  2  default
|
|
o  1  default
|
|
o  0  default


Then the output should include changesets 0,1,2,3,5 and nothing else.

However, the initial approach gives us only changesets 3 and 5.

The way to go would be:
  1. hg log -b foo file
     - get all changesets on branch foo and determine the first changeset there
(3)
  2. hg log -r:2 file
     - this gets all changesets before 3-1

I am not sure how this would work in more complicated branching scenarios.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
opengrok-dev mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opengrok-dev

Reply via email to