Is it possible to see a list of all tags on a remote mecurial repository, without cloning it first? In git I can run git ls-remote --tags
.
views:
196answers:
2Tags are stored in the working directory in .hgtags - ie, in the working copy, not the local 'repository'. Since all remote operations take place on the remote repository, not the remote working copy, there is no way to list tags remotely.
In essence .hgtags just gives changesets convenient names, tags have nothing to do with repository metadata or version control.
Note that the design philosophy of Mercurial is that it should be scalable; in order for a distributed version control system to be scalable the 'hard work' has to be done on the machine that initiated the command, this is why you have to first obtain a clone to do anything difficult.
I don't think it's possible with a standard Mercurial repository. If you can ssh into the remote machine, just do so and run hg tags.