Is there a command to check if a revision is later than another (ie is a parent or ancestor of another).
John Arbash Meinel
john at arbash-meinel.com
Fri Mar 22 14:24:33 UTC 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You might try something with "bzr missing". It lets you pass a
- --revision argument. So something like:
bzr missing --theirs -r BAD_REVISION OTHER_REVISION
Should let you know if BAD_REVISION has anything that hasn't been
merged into the current branch.
It is certainly possible with plugins. There is bzrlib.graph that has
a Graph object that can answer a lot of things like that.
John
=:->
On 2013-03-22 11:45, Nicholas Allen wrote:
> Hi,
>
> Our software has an auto bug reporting feature and we know the
> revision id when the software crashes. If we fix the crash we mark
> the report as fixed and with the revision it is fixed in. If the
> report comes in again I would like the auto reporter to check if
> the version it crashed in is later than the version it was fixed in
> and if so reopen the issue. Also when I annotate a file it would be
> nice to be able to ask Bazaar on the command line "Is revision x
> later than revision y". That way I can also manually check stuff
> based on the line that was fixed and the revision that annotate
> shows me.
>
> Is this possible or is there a simple plugin for this?
>
> Cheers,
>
> Nick
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.13 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlFMaaEACgkQJdeBCYSNAAPpkgCfS6eMZH+rbJbSV6bYkMblHH7o
kc4AoIf1TvGt4BI2SPsRHa9kpKDEcAoG
=EEpp
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list