forked from gf3/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added: Bundling mercurial extensions.
- Loading branch information
Showing
104 changed files
with
2,927 additions
and
2 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
2817cac5f5d77ff70cb2649911ac1647149fcc43 110 | ||
2817cac5f5d77ff70cb2649911ac1647149fcc43 default |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[paths] | ||
default = ssh://[email protected]/sjl/hg-prompt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
revlogv1 | ||
store | ||
fncache |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+279 Bytes
.hgext/hg-prompt/.hg/store/data/docs/.templates/markdoc-default/404.html.i
Binary file not shown.
Binary file added
BIN
+735 Bytes
.hgext/hg-prompt/.hg/store/data/docs/.templates/markdoc-default/base.html.i
Binary file not shown.
Binary file added
BIN
+135 Bytes
.hgext/hg-prompt/.hg/store/data/docs/.templates/markdoc-default/document.html.i
Binary file not shown.
Binary file added
BIN
+432 Bytes
.hgext/hg-prompt/.hg/store/data/docs/.templates/markdoc-default/listing.html.i
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+927 Bytes
.hgext/hg-prompt/.hg/store/data/docs/static/media/css/pygments.css.i
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1004 Bytes
.hgext/hg-prompt/.hg/store/data/docs/static/media/css/typography.css.i
Binary file not shown.
Binary file added
BIN
+534 Bytes
.hgext/hg-prompt/.hg/store/data/docs/wiki/documentation/index.mdown.i
Binary file not shown.
Binary file added
BIN
+2.83 KB
.hgext/hg-prompt/.hg/store/data/docs/wiki/documentation/keywords/index.mdown.i
Binary file not shown.
Binary file added
BIN
+1.06 KB
.hgext/hg-prompt/.hg/store/data/docs/wiki/documentation/samples/index.mdown.i
Binary file not shown.
Binary file added
BIN
+1.12 KB
.hgext/hg-prompt/.hg/store/data/docs/wiki/documentation/usage/index.mdown.i
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+897 Bytes
.hgext/hg-prompt/.hg/store/data/docs/wiki/installation/index.mdown.i
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
data/.hgignore.i | ||
data/.hgtags.i | ||
data/README.i | ||
data/docs/.templates/404.html.i | ||
data/docs/.templates/base.html.i | ||
data/docs/.templates/document.html.i | ||
data/docs/.templates/listing.html.i | ||
data/docs/.templates/macros/html.i | ||
data/docs/.templates/markdoc-default/404.html.i | ||
data/docs/.templates/markdoc-default/base.html.i | ||
data/docs/.templates/markdoc-default/document.html.i | ||
data/docs/.templates/markdoc-default/listing.html.i | ||
data/docs/.venv.i | ||
data/docs/markdoc.yaml.i | ||
data/docs/publish.sh.i | ||
data/docs/static/media/css/layout.css.i | ||
data/docs/static/media/css/pygments.css.i | ||
data/docs/static/media/css/reset.css.i | ||
data/docs/static/media/css/typography.css.i | ||
data/docs/wiki/documentation/index.mdown.i | ||
data/docs/wiki/documentation/keywords/index.mdown.i | ||
data/docs/wiki/documentation/samples/index.mdown.i | ||
data/docs/wiki/documentation/usage/index.mdown.i | ||
data/docs/wiki/index.mdown.i | ||
data/docs/wiki/installation/index.mdown.i | ||
data/docs/wiki/quickstart/index.mdown.i | ||
data/prompt.py.i | ||
data/tests/__init__.py.i | ||
data/tests/test_branch.py.i | ||
data/tests/test_node.py.i | ||
data/tests/test_none.py.i | ||
data/tests/test_rev.py.i | ||
data/tests/test_tip.py.i | ||
data/tests/test_update.py.i | ||
data/tests/util.py.i |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
110 2817cac5f5d77ff70cb2649911ac1647149fcc43 90ce2c56ee1ffaf9e509b56a80fbd13525ecb12c | ||
|
||
d390b5e2719169d39b522f5dcf0320ce81a08d57 0.1 | ||
a6ec48f03985b7c2bb6b7fbe16c6bbec2d650783 0.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
default |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
0 | ||
pull | ||
ssh://[email protected]/sjl/hg-prompt |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
syntax: glob | ||
|
||
.DS_Store | ||
*.pyc | ||
docs/.html | ||
docs/.tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
d390b5e2719169d39b522f5dcf0320ce81a08d57 0.1 | ||
a6ec48f03985b7c2bb6b7fbe16c6bbec2d650783 0.2 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
-*- markdown -*- | ||
|
||
hg-prompt | ||
========= | ||
|
||
hg-prompt adds an 'hg prompt' command to Mercurial for viewing repository information. It's designed to be used in a shell prompt. | ||
|
||
|
||
Requirements | ||
------------ | ||
|
||
hg-prompt requires Python 2.5+ and (obviously) Mercurial. | ||
|
||
|
||
Installing | ||
---------- | ||
|
||
Clone the repository: | ||
|
||
$ hg clone http://bitbucket.org/sjl/hg-prompt/ | ||
|
||
Edit the `[extensions]` section in your `~/.hgrc` file: | ||
|
||
[extensions] | ||
prompt = (path to)/hg-prompt/prompt.py | ||
|
||
|
||
Documentation | ||
------------- | ||
|
||
The documentation for hg-prompt is at the [project page][project]. There's a [Quick Start guide][quickstart], [Full Usage Guide][usage], [Keyword List][keywords], and a few other things there. | ||
|
||
The documentation is stored in the `docs/` directory of the repository if you prefer to read it offline. | ||
|
||
[project]: http://sjl.bitbucket.org/hg-prompt/ | ||
[quickstart]: http://sjl.bitbucket.org/hg-prompt/quickstart/ | ||
[usage]: http://sjl.bitbucket.org/hg-prompt/documentation/usage/ | ||
[keywords]: http://sjl.bitbucket.org/hg-prompt/documentation/keywords/ | ||
|
||
|
||
Questions, Comments, Suggestions | ||
-------------------------------- | ||
|
||
The code was kind of thrown together in a few nights after I got tired of chaining three or four hg runs together to get what I wanted. I'm sure it's not perfect, so if you've got a way to improve it please add an issue and let me know. | ||
|
||
Patches are also welcome! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
markdoc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
wiki-name: "hg-prompt" | ||
|
||
|
||
static-dir: "static" | ||
|
||
hide-prefix: "." | ||
document-extensions: [.md, .mdown, .markdown] | ||
generate-listing: always | ||
listing-filename: "list.html" | ||
|
||
use-default-static: false | ||
|
||
markdown: | ||
safe_mode: false | ||
output_format: xhtml1 | ||
extensions: [codehilite, def_list, toc] | ||
|
||
server: | ||
bind: '127.0.0.1' | ||
port: 8010 | ||
server_name: 'sjl.bitbucket.org' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
markdoc build | ||
rsync --delete -az .html/ ~/src/sjl.bitbucket.org/hg-prompt | ||
hg -R ~/src/sjl.bitbucket.org commit -Am 'hg-prompt: Update documentation.' | ||
hg -R ~/src/sjl.bitbucket.org push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
/* @override http://localhost:8008/media/css/layout.css */ | ||
body, html { | ||
background-color: #226F89; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
div#breadcrumbs { | ||
border-bottom: 4px dashed #265565; | ||
border-right: 1px solid #265565; | ||
padding: 0em 1.5em; | ||
background-color: #fff; | ||
width: 55em; | ||
margin: 0em 0em 0em -1.5em; | ||
} | ||
div#breadcrumbs p { | ||
margin: 0.5em auto; | ||
} | ||
div#content { | ||
background-color: #fff; | ||
height: 100%; | ||
margin: 0 auto 3em; | ||
overflow: hidden; | ||
padding: 0em 1.5em 0em 1.5em; | ||
width: 55em; | ||
border-left: 1px solid #265565; | ||
border-right: 1px solid #265565; | ||
} | ||
|
||
h1 { | ||
margin: 0.3em 0; | ||
padding: 0.1em 0; | ||
} | ||
h2, h3, h4, h5, h6 { | ||
margin-top: 1em; | ||
margin-bottom: 0.4em; | ||
} | ||
p, ul, blockquote { | ||
line-height: 1.8em; | ||
margin-top: 0; | ||
margin-bottom: 1em; | ||
} | ||
a { | ||
color: #133C4C; | ||
} | ||
a:hover { | ||
color: #F14800; | ||
} | ||
|
||
p#footer { | ||
background-color: #fff; | ||
border-top: 4px dashed #265565; | ||
width: 55em; | ||
padding: 0.75em 1.5em; | ||
text-align: center; | ||
color: #666; | ||
margin-left: -1.5em; | ||
margin-bottom: 0em; | ||
} | ||
|
||
ul { | ||
padding-left: 1.5em; | ||
} | ||
ul li { | ||
list-style-type: disc; | ||
margin-left: 1.5em; | ||
margin-top: 0.4em; | ||
} | ||
|
||
div.toc ul { | ||
padding: 0; | ||
} | ||
div.toc ul li { | ||
list-style-type: none; | ||
margin: 0; | ||
} | ||
div.toc > ul > li { | ||
list-style-type: none; | ||
margin: 0; | ||
} | ||
div.toc > ul ul { | ||
margin: 0 3em; | ||
} | ||
|
||
code { | ||
background-color: #f6f6f6; | ||
border: 1px solid #999; | ||
padding: 2px; | ||
white-space: nowrap; | ||
} | ||
pre code { | ||
border: none; | ||
padding: 0; | ||
background: none; | ||
white-space: pre-wrap; | ||
} | ||
a code { | ||
background: none; | ||
border: none; | ||
margin: 0; | ||
padding: 0; | ||
text-decoration: inherit; | ||
} | ||
a.code { | ||
background-color: #3f3f3f; | ||
} | ||
|
||
dt { | ||
font-weight: bold; | ||
margin-top: 1em; | ||
} | ||
dd { | ||
line-height: 1.8em; | ||
margin-left: 1.5em; | ||
} | ||
blockquote p { | ||
margin: 0; | ||
} | ||
|
||
img { | ||
background-color: #f6f6f6; | ||
border: 1px solid #999; | ||
padding: 1em; | ||
display: block; | ||
margin: 0 auto; | ||
} | ||
|
||
table { | ||
margin: 1em; | ||
} | ||
table thead { | ||
background-color: #f6f6f6; | ||
} | ||
table thead th { | ||
border: 1px solid #999; | ||
padding: 0.5em 1em; | ||
} | ||
table tbody tr td { | ||
border: 1px solid #999; | ||
padding: 0.5em 1em; | ||
} | ||
|
||
pre, blockquote, table.codehilitetable { | ||
background-color: #f6f6f6; | ||
border: 1px solid #999; | ||
display: block; | ||
line-height: 1.5em; | ||
margin-left: 1.5em; | ||
margin-right: 1.5em; | ||
padding: 0.5em; | ||
padding-left: 1em; | ||
} | ||
pre, table.codehilitetable { | ||
margin-bottom: 1em; | ||
} | ||
table.codehilitetable div.linenodiv { | ||
border-right: 1px solid #ccc; | ||
margin-right: 1em; | ||
padding-right: 1em; | ||
} | ||
table.codehilitetable pre { | ||
background: none; | ||
border: none; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
table#pages tr, table#subdirs tr, table#files tr { | ||
border-top: 1px solid #999; | ||
border-bottom: 1px solid #999; | ||
} | ||
table tr td.name a { | ||
display: block; | ||
padding: 0.5em 1em; | ||
} | ||
table tr td.name a:hover { | ||
background-color: #f6f6f6; | ||
} | ||
table tr td.size { | ||
padding: 0.5em 1em; | ||
width: 40px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
.hll { background-color: #ffffcc } | ||
.c { color: #808080 } /* Comment */ | ||
.err { color: #F00000; background-color: #F0A0A0 } /* Error */ | ||
.k { color: #008000; font-weight: bold } /* Keyword */ | ||
.o { color: #303030 } /* Operator */ | ||
.cm { color: #808080 } /* Comment.Multiline */ | ||
.cp { color: #507090 } /* Comment.Preproc */ | ||
.c1 { color: #808080 } /* Comment.Single */ | ||
.cs { color: #cc0000; font-weight: bold } /* Comment.Special */ | ||
.gd { color: #A00000 } /* Generic.Deleted */ | ||
.ge { font-style: italic } /* Generic.Emph */ | ||
.gr { color: #FF0000 } /* Generic.Error */ | ||
.gh { color: #000080; font-weight: bold } /* Generic.Heading */ | ||
.gi { color: #00A000 } /* Generic.Inserted */ | ||
.go { color: #808080 } /* Generic.Output */ | ||
.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ | ||
.gs { font-weight: bold } /* Generic.Strong */ | ||
.gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | ||
.gt { color: #0040D0 } /* Generic.Traceback */ | ||
.kc { color: #008000; font-weight: bold } /* Keyword.Constant */ | ||
.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */ | ||
.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */ | ||
.kp { color: #003080; font-weight: bold } /* Keyword.Pseudo */ | ||
.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */ | ||
.kt { color: #303090; font-weight: bold } /* Keyword.Type */ | ||
.m { color: #6000E0; font-weight: bold } /* Literal.Number */ | ||
.s { background-color: #fff0f0 } /* Literal.String */ | ||
.na { color: #0000C0 } /* Name.Attribute */ | ||
.nb { color: #007020 } /* Name.Builtin */ | ||
.nc { color: #B00060; font-weight: bold } /* Name.Class */ | ||
.no { color: #003060; font-weight: bold } /* Name.Constant */ | ||
.nd { color: #505050; font-weight: bold } /* Name.Decorator */ | ||
.ni { color: #800000; font-weight: bold } /* Name.Entity */ | ||
.ne { color: #F00000; font-weight: bold } /* Name.Exception */ | ||
.nf { color: #0060B0; font-weight: bold } /* Name.Function */ | ||
.nl { color: #907000; font-weight: bold } /* Name.Label */ | ||
.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ | ||
.nt { color: #007000 } /* Name.Tag */ | ||
.nv { color: #906030 } /* Name.Variable */ | ||
.ow { color: #000000; font-weight: bold } /* Operator.Word */ | ||
.w { color: #bbbbbb } /* Text.Whitespace */ | ||
.mf { color: #6000E0; font-weight: bold } /* Literal.Number.Float */ | ||
.mh { color: #005080; font-weight: bold } /* Literal.Number.Hex */ | ||
.mi { color: #0000D0; font-weight: bold } /* Literal.Number.Integer */ | ||
.mo { color: #4000E0; font-weight: bold } /* Literal.Number.Oct */ | ||
.sb { background-color: #fff0f0 } /* Literal.String.Backtick */ | ||
.sc { color: #0040D0 } /* Literal.String.Char */ | ||
.sd { color: #D04020 } /* Literal.String.Doc */ | ||
.s2 { background-color: #fff0f0 } /* Literal.String.Double */ | ||
.se { color: #606060; font-weight: bold; background-color: #fff0f0 } /* Literal.String.Escape */ | ||
.sh { background-color: #fff0f0 } /* Literal.String.Heredoc */ | ||
.si { background-color: #e0e0e0 } /* Literal.String.Interpol */ | ||
.sx { color: #D02000; background-color: #fff0f0 } /* Literal.String.Other */ | ||
.sr { color: #000000; background-color: #fff0ff } /* Literal.String.Regex */ | ||
.s1 { background-color: #fff0f0 } /* Literal.String.Single */ | ||
.ss { color: #A06000 } /* Literal.String.Symbol */ | ||
.bp { color: #007020 } /* Name.Builtin.Pseudo */ | ||
.vc { color: #306090 } /* Name.Variable.Class */ | ||
.vg { color: #d07000; font-weight: bold } /* Name.Variable.Global */ | ||
.vi { color: #3030B0 } /* Name.Variable.Instance */ | ||
.il { color: #0000D0; font-weight: bold } /* Literal.Number.Integer.Long */ |
Oops, something went wrong.