logo       


Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: Monotone diff: msg#00120

Subject: Re: Monotone diff
Nathaniel Smith wrote:
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


Ok thanks, this is great. I am thinking like a cvs head... I keep forgetting about selectors.

--
Matthew A. Nicholson
Matt-land.com


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe