Comparison

prosodyctl @ 6611:65dd3770bcb0

prosodyctl: Document magic commit ID
author Paul Aurich <paul@darkrain42.org>
date Wed, 01 Apr 2015 13:30:31 -0700
parent 6587:54306208f30b
child 6612:6cc48b51d699
comparison
equal deleted inserted replaced
6610:7c4cf87f4dff 6611:65dd3770bcb0
550 path = config.resolve_relative_path(pwd, path); 550 path = config.resolve_relative_path(pwd, path);
551 local hgid, hgrepo = hg.check_id(path); 551 local hgid, hgrepo = hg.check_id(path);
552 if not hgid and hgrepo then 552 if not hgid and hgrepo then
553 return path.." - "..hgrepo .."!\n "; 553 return path.." - "..hgrepo .."!\n ";
554 end 554 end
555 -- 010452cfaf53 is the first commit in the prosody-modules repository
555 hgrepo = hgrepo == "010452cfaf53" and "prosody-modules"; 556 hgrepo = hgrepo == "010452cfaf53" and "prosody-modules";
556 return path..(hgid and " - "..(hgrepo or "HG").." rev: "..hgid or "") 557 return path..(hgid and " - "..(hgrepo or "HG").." rev: "..hgid or "")
557 .."\n "; 558 .."\n ";
558 end))); 559 end)));
559 print(""); 560 print("");