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/'
720 if promptyesno(ui, "hg remove %s (y/n)?" % (f,)):
725 if promptyesno(ui, "hg add %s (y/n)?" % (f,)):
737 # $(hg root)/last-change so that if Mercurial does die, people
763 # Check file list for files that need to be hg added or hg removed
793 ui.warn("warning: %s is a file but not known to hg\n" % (f,))
922 msg = "gofmt needs to format these files (run hg gofmt):\n" + Indent(data, "\t").rstrip()
1065 from mercurial.hg import clean as hg_clean
1245 # work-around for http://selenic.com/hg/rev/785bbc8634f8
1273 # hg change
1293 hg revert @123456
1295 before running hg change -d 123456.
1316 return "cannot create CL outside default branch; switch with 'hg update default'"
1334 return "original author must delete CL; hg change -D will remove locally"
1387 # hg code-login (broken?)
1402 # hg clpatch / undo / release-apply / download
1417 return "cannot run hg clpatch outside default branch"
1429 return "cannot run hg undo outside default branch"
1444 hg update weekly.YYYY-MM-DD
1445 hg branch release-branch.rNN
1446 hg commit -m 'create release-branch.rNN'
1447 hg push --new-branch
1453 hg update release-branch.rNN
1457 hg update default
1460 using hg release-apply followed by the usual code review
1461 process and hg submit.
1467 hg update default
1566 patch = RunShell(["hg", "diff", "--git", "-r", arg])
1575 # find current hg version (hg identify)
1662 cmd = ["hg", "diff", "--git", "-r", oldver + ":" + newver, "path:" + file]
1703 # hg file
1737 ui.status("# hg file %s %s\n" % (cl.name, f))
1758 ui.status("# hg file %s %s\n" % (ocl.name, f))
1769 # hg gofmt
1803 # hg mail
1836 # hg p / hg pq / hg ps / hg pending
1840 """alias for hg p --short
1847 """alias for hg p --quick
1883 # hg submit
1987 m = re.match("(^https?://([^@/]+@)?([^.]+)\.googlecode\.com/hg/?)" + "|" +
1990 if m.group(1): # prj.googlecode.com/hg/ case
2019 # hg sync
2067 ui.warn("CL %s has no files; delete (abandon) with hg change -d %s\n" % (cl.name, cl.name))
2069 ui.warn("CL %s has no files; delete locally with hg change -D %s\n" % (cl.name, cl.name))
2073 # hg upload
2106 # is printed when running hg with no arguments.
2127 # hg help codereview prints the help for this command
3363 use_hg_shell = False # set to True to shell out to hg always; slower
3382 mqparent, err = RunShellWithReturnCode(['hg', 'log', '--rev', 'qparent', '--template={node}'])
3386 out = RunShell(["hg", "parents", "-q"], silent_ok=True).strip()
3400 cmd = ["hg", "diff", "--git", "-r", self.base_rev] + extra_args
3420 ErrorExit("No valid patches found in output from hg diff")
3426 status = RunShell(["hg", "status", "--rev", self.base_rev, "-u", "."],
3436 # We'd like to use 'hg status -C path', but that is buggy
3438 # Instead, run 'hg status -C' without a path
3442 out = RunShell(["hg", "status", "-C", "--rev", rev])
3464 # "hg status" and "hg cat" both take a path relative to the current subdir
3465 # rather than to the repo root, but "hg diff" has given us the full path
3482 base_content = RunShell(["hg", "cat", "-r", base_rev, oldrelpath], silent_ok=True)
3491 base_content = RunShell(["hg", "cat", "-r", base_rev, oldrelpath],