Commits

Daniel Graña committed bcbaa02

Improve README

* wrap lines to 80 columns
* Add pastebin.dixo.net to available pastebins
* Add Hints and Tips section

Comments (0)

Files changed (1)

 hg-paste
 ========
 
-hg-paste adds an `hg paste` command to Mercurial which can send diffs to various pastebin websites for easy sharing.
+hg-paste adds an `hg paste` command to Mercurial which can send diffs to
+various pastebin websites for easy sharing.
 
-It was inspired by [Pocoo][]'s [hgpaste][pocoopaste] extension, but is designed to work with public pastebin websites instead of private installations of [LodgeIt][].
+It was inspired by [Pocoo][]'s [hgpaste][pocoopaste] extension, but is designed
+to work with public pastebin websites instead of private installations of
+[LodgeIt][].
 
 [Pocoo]: http://www.pocoo.org/
 [pocoopaste]: http://dev.pocoo.org/hg/hgpaste/
 
     hg paste --user Steve --title 'Progress on feature X' --keep
 
-The pastebin website to use can be specified with `--dest`.  Currently
-only [dpaste.com](http://dpaste.com/) and [dpaste.org](http://dpaste.org) are supported.
+The pastebin website to use can be specified with `--dest`.
+
+Currently supported pastebins:
+* [dpaste.com](http://dpaste.com/)
+* [dpaste.org](http://dpaste.org)
+* [pastebin.dixo.net](http://pastebin.dixo.net)
+
+Hints and tips
+--------------
+
+Change the default pastebin
+
+    [defaults]
+    paste = --dest dpaste.org
+
+Paste the last applied patch on the queue
+
+    hg paste -r qtip
+
+And its handy alias:
+
+    [alias]
+    qpaste = paste -r qtip
+
+Alias to paste to an intranet pastebin
+
+    [alias]
+    ipaste = --dest dpaste.org --url http://paste.intranet.com --httpauth user:pass
+
+Or use [~/.netrc](http://linux.die.net/man/5/netrc) if you don't like plain
+plasswords in your ~/.hgrc
+
+    [alias]
+    ipaste = --dest dpaste.org --url http://paste.intranet.com --usernetrc
 
 Questions, Comments, Suggestions
 --------------------------------
 
 If you find any bugs, please create an issue in the [issue tracker][issues].
 
-If you want to contribute (support for more pastebin websites would be great), fork the [repository][] on BitBucket and send a pull request.
+If you want to contribute (support for more pastebin websites would be great),
+fork the [repository][] on BitBucket and send a pull request.
 
 [issues]: http://bitbucket.org/sjl/hg-paste/issues/?status=new&status=open
-[repository]: http://bitbucket.org/sjl/hg-paste
+[repository]: http://bitbucket.org/sjl/hg-paste