Lines Matching refs:hg

22 your repository's .hg/hgrc file.
38 "hg diff @123456" is equivalent to"hg diff x.go y.go".
168 # most hg commands won't ever see them.
189 # Change lists are stored in .hg/codereview/cl.nnnnnn
538 # before doing hg submit.
616 dir += '/.hg/codereview/'
717 if promptyesno(ui, "hg remove %s (y/n)?" % (f,)):
722 if promptyesno(ui, "hg add %s (y/n)?" % (f,)):
734 # $(hg root)/last-change so that if Mercurial does die, people
760 # Check file list for files that need to be hg added or hg removed
790 ui.warn("warning: %s is a file but not known to hg\n" % (f,))
919 msg = "gofmt needs to format these files (run hg gofmt):\n" + Indent(data, "\t").rstrip()
1062 from mercurial.hg import clean as hg_clean
1242 # work-around for http://selenic.com/hg/rev/785bbc8634f8
1270 # hg change
1290 hg revert @123456
1292 before running hg change -d 123456.
1313 return "cannot create CL outside default branch; switch with 'hg update default'"
1331 return "original author must delete CL; hg change -D will remove locally"
1384 # hg code-login (broken?)
1399 # hg clpatch / undo / release-apply / download
1414 return "cannot run hg clpatch outside default branch"
1426 return "cannot run hg undo outside default branch"
1441 hg update weekly.YYYY-MM-DD
1442 hg branch release-branch.rNN
1443 hg commit -m 'create release-branch.rNN'
1444 hg push --new-branch
1450 hg update release-branch.rNN
1454 hg update default
1457 using hg release-apply followed by the usual code review
1458 process and hg submit.
1464 hg update default
1563 patch = RunShell(["hg", "diff", "--git", "-r", arg])
1572 # find current hg version (hg identify)
1659 cmd = ["hg", "diff", "--git", "-r", oldver + ":" + newver, "path:" + file]
1700 # hg file
1734 ui.status("# hg file %s %s\n" % (cl.name, f))
1755 ui.status("# hg file %s %s\n" % (ocl.name, f))
1766 # hg gofmt
1800 # hg mail
1833 # hg p / hg pq / hg ps / hg pending
1837 """alias for hg p --short
1844 """alias for hg p --quick
1880 # hg submit
1984 m = re.match("(^https?://([^@/]+@)?([^.]+)\.googlecode\.com/hg/?)" + "|" +
1987 if m.group(1): # prj.googlecode.com/hg/ case
2016 # hg sync
2064 ui.warn("CL %s has no files; delete (abandon) with hg change -d %s\n" % (cl.name, cl.name))
2066 ui.warn("CL %s has no files; delete locally with hg change -D %s\n" % (cl.name, cl.name))
2070 # hg upload
2103 # is printed when running hg with no arguments.
2124 # hg help codereview prints the help for this command
3360 use_hg_shell = False # set to True to shell out to hg always; slower
3379 mqparent, err = RunShellWithReturnCode(['hg', 'log', '--rev', 'qparent', '--template={node}'])
3383 out = RunShell(["hg", "parents", "-q"], silent_ok=True).strip()
3397 cmd = ["hg", "diff", "--git", "-r", self.base_rev] + extra_args
3417 ErrorExit("No valid patches found in output from hg diff")
3423 status = RunShell(["hg", "status", "--rev", self.base_rev, "-u", "."],
3433 # We'd like to use 'hg status -C path', but that is buggy
3435 # Instead, run 'hg status -C' without a path
3439 out = RunShell(["hg", "status", "-C", "--rev", rev])
3461 # "hg status" and "hg cat" both take a path relative to the current subdir
3462 # rather than to the repo root, but "hg diff" has given us the full path
3479 base_content = RunShell(["hg", "cat", "-r", base_rev, oldrelpath], silent_ok=True)
3488 base_content = RunShell(["hg", "cat", "-r", base_rev, oldrelpath],