mercurial revisions

Marijn Vriens marijn at metronomo.cl
Sun Jul 26 01:44:14 CDT 2009


On Sun, Jul 26, 2009 at 5:09 AM, Task Struct From Hell <
taskstructfromhell at googlemail.com> wrote:

> I am planning to integrate mercurial on a wiki system written in
> python and mainly interested to use it for the revision control of
> articles and the inherent diff functionality. Looking through the
> manual, one can read:
>
> "In CVS, revision numbers describe the history of individual files. In
> Mercurial, RevisionNumbers describe the history of an entire
> Repository. Furthermore, in Mercurial, a RevisionNumber is local to a
> repository. To uniquely identify a ChangeSet, use a ChangeSetID."
>
> Does mercurial or its API permit us to know  how many (and which)
> changesets affect a single file in a repository in an easy way?


Try it out:

$ hg log somefile

you'll get all the revisions where somefile was involved. So it's possible.
Look at the code for how it's done on a python level.

Regards,
         Marijn Vriens.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://selenic.com/pipermail/mercurial/attachments/20090726/271c518d/attachment.htm 


More information about the Mercurial mailing list