"hg log" for remote repositories?

Jens Alfke jens at mooseyard.com
Thu Sep 13 11:52:53 CDT 2007


Is there a way to get the version history of a remote (ssh or http)  
repository? "hg log" only works on local repos. If I have a local  
clone I can use "hg incoming" and "hg outgoing" to see the differences  
in their revision graph, but I can't find a way to just inspect the  
remote repo.

...

OK, I just thought of a way: run "hg incoming" from an empty  
repository. Is this kosher? Is there any simpler way?

 > mkdir /tmp/emptyrepo
 > cd !$
 > hg init
 > hg incoming ssh://example.com/realrepo

--Jens


More information about the Mercurial mailing list