Question

In case you have an un-updated working tree in bazaar reported by

bzr st
working tree is out of date, run 'bzr update'

how do you find out the working copy's revision number? (or the latest commit applied)

With Mercurial you can get it with hg parents, I'm looking for it's bazaar counterpart, or any workaround.

Était-ce utile?

La solution

Got it, it's bzr version-info.

What's very nice in it is that you can also format it's output via the --custom --template='your settings' parameter.

Update:

Even more simply, you can also use bzr revno --tree as well.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top