On Tue, Nov 23, 2004 at 01:54:15PM -0600, Matthew A. Nicholson wrote:
Is there a way to diff my current branch aganist another branch like say I
wanted to do (except this does not work...):
monotone --db=my.db --branch=net.venge.monotone.ssh co .
monotone --db=my.db --branch=net.venge.monotone.changesets diff
So how would I see the differences between the ssh branch and the changesets
branch?
If the working directory is a checkout of .ssh, you can do:
$ monotone --branch=net.venge.monotone.changesets heads
<prints some ids and metadata>
$ monotone diff <id printed above>
If you don't have a working directory at all, you can do:
$ monotone --db=my.db --branch=net.venge.monotone.ssh heads
<prints some ids and metadata>
$ monotone --db=my.db --branch=net.venge.monotone.changesets heads
<prints some ids and metadata>
$ monotone diff <id from first command> <id from second command>
This would be nicer if there was a "head" selector, used like
h:net.venge.monotone.changesets... we have a "branch" selector
already, be pretty similar...
-- Nathaniel