http://bugs.grommit.com/show_bug.cgi?id=545
Summary: cadmium could grow some predicates so nightly doesn't have to parse hg output Product: SCM Migration Version: unspecified Platform: SPARC (32bit+64bit) OS/Version: Solaris 11/Nevada Status: NEW Severity: enhancement Priority: P3 Component: cdm AssignedTo: scm-migration-dev at opensolaris.org ReportedBy: sommerfeld at sun.com i've prototyped a mostly simple mercurial extension which makes scripting around hg pull / hg merge / hg update a little less nervewracking. maybe this extension should be folded into cadmium. these could also allow a bunch of the code in nightly which parses hg command output (grepping for the default/english version of human-readable messages which are actually internationalized...) to be less sketchy. I have the following predicates defined as hg subcommands in my extension: "single-parent" returns true if the working copy has only a single parent (which is true if there isn't a half-completed merge in progress) "single-head" returns true if there's only one head in the workspace. "needs-merge" returns true if there's more than one head in the workspace. "unmodified" returns true if the workspace contains uncommitted modifications to tracked files (adds, modifies, removes, and deleted/missing files) "full-auto-merge" returns true if an hg merge is known to require no manual intervention (because of no overlap in files touched, etc.) -- Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.