code_junkie

Using Mercurial, is there an easy way to diff my working copy with the tip file in the default remote repository

Nov 11th, 2011
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. hg clone http://hg.kublai.com/mercurial/extensions/rdiff
  2.  
  3. [extensions]
  4. rdiff=~/path/to/rdiff/repo/rdiff.py
  5.  
  6. hgrdiff() {
  7. hg commit -m "temp commit for remote diff" &&
  8. hg diff --reverse http://my_hardcoded_repo $* &&
  9. hg rollback # revert the temporary commit
  10. }
  11.  
  12. hgrdiff <filename to diff against remote repo tip>
  13.  
  14. hg incoming --template {files}
Add Comment
Please, Sign In to add comment