Fix genrevision again, please backport this commit to TC1

--HG--
branch : trunk
This commit is contained in:
Chaz Brown
2009-04-02 23:15:42 -04:00
parent fbf36c9afe
commit 3f5cfa1661

View File

@@ -331,6 +331,9 @@ int main(int argc, char **argv)
if (!res)
res = extractDataFromHG(path+"_hg/branchheads.cache",path,use_url,data);
if (!res)
res = extractDataFromHG(path+".hg/branch.cache",path,use_url,data);
if (!res)
res = extractDataFromHG(path+"_hg/branch.cache",path,use_url,data);
// GIT data
if (!res)
res = extractDataFromGit(path+".git/FETCH_HEAD",path,use_url,data);
@@ -349,6 +352,9 @@ int main(int argc, char **argv)
if (!res)
res = extractDataFromHG(path+"_hg/branchheads.cache",path,use_url,data);
if (!res)
res = extractDataFromHG(path+".hg/branch.cache",path,use_url,data);
if (!res)
res = extractDataFromHG(path+"_hg/branch.cache",path,use_url,data);
/// SVN data
if (!res)
res = extractDataFromSvn(path+".svn/entries",use_url,data);