3r1co / hg4j

Automatically exported from code.google.com/p/hg4j
GNU General Public License v2.0
0 stars 1 forks source link

Provide means to find out whether given file exist at particular revision #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
HgCatCommand.execute() may fail if a given changeset revision doesn't possess 
file in question. Need an explicit and simple way to find out whether the file 
was known at the time of the given revision.

Now it is possible to accomplish with few calls to changelog and manifest, just 
need a convenient alternative. There's an idea to add 
HgCatCommand.canCat/canExecute, but that may be somewhat limited (the initial 
question may need to be answered not only for cat operation)

Original issue reported on code.google.com by tikhomir...@gmail.com on 10 Aug 2011 at 8:26

GoogleCodeExporter commented 8 years ago
Added HgFileInformer

Original comment by tikhomir...@gmail.com on 12 Aug 2011 at 5:15