logo       


Re: Uhmmm, can't commit????: msg#00164

Subject: Re: Uhmmm, can't commit????
Olivier Andrieu writes:

 >  monotone --message="update of monotone.pot" commit

I was baffled by this at first too, but then I added

  alias mcommit='monotone commit --message'

to my .bashrc and all was well.

By they way: The changes from the restriction branch are
great! I had devised about a dozen scripts that wrapped
monotone to do what it does out-of-the-box now, and none of
those scripts ever worked reliably. ;-) So thanks for adding
these features.

I noticed one change that I'd like to see reversed though:
When you are inside a checked-out repository and want to
check out a different branch as a subdirectory, then you
could just write

  monotone --branch=other co foo

and Monotone would automatically find the --db argument from
the current MT/options file. The new version doesn't do that
anymore, though, it requires the database to be specified
again. This is unfortunate in the case where you'd like to
check out subdirectories via Makefile, for example. I often
have a target like this in my build system:

  init-src::
          @rm -f MT/monotonerc
          @ln -s ../.monotonerc MT/monotonerc
          monotone --branch=to.cryp.hs.dns co dns
          monotone --branch=to.cryp.hs.email co email
          monotone --branch=to.cryp.hs.blockio co blockio
          monotone --branch=to.cryp.hs.child co child
          monotone --branch=to.cryp.hs.syslog co syslog
          monotone --branch=to.cryp.hs.hopenssl co hopenssl

With the new version, I either have to hard-code the path to
the database into the Makefile, or I have to parse it out of
MT/options myself.

A way to remedy that safely would be to add something along
these lines:

  monotone cat default db       -- prints current db path
  monotone cat default branch   -- prints current branch

Then I could use monotone to extract the information in
MT/options.

Any thoughts about that?

Peter


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<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