diff - Find likely base revision in a mercurial repository -
i received code tar archive (without .hg directory). know repository code based on, not revision used base these modifications. there way find out looking @ files? similar given file, how find out revision in mercurial repository is? cannot reach author of code, cannot control how files extracted repository. dealing modified files here diff base revision not empty.
my fall-back plan loop through revisions , using 1 smallest diff, i'm still hoping there better solution.
there's no automated way it, possibly reduce time using hg bisect --command diff ... command 0 in on it.
as tip if (i know wasn't) ever has give snapshot again, use hg archive make it. includes .hg_archive.txt file version info that'll if have again.
Comments
Post a Comment