implement disable sub repository detection option

This commit is contained in:
Sebastian Sdorra
2013-01-20 11:41:33 +01:00
parent 81d78b6fa8
commit cc81411523
5 changed files with 30 additions and 6 deletions

View File

@@ -104,6 +104,11 @@ public class HgBrowseCommand extends AbstractCommand implements BrowseCommand
cmd.recursive();
}
if (request.isDisableSubRepositoryDetection())
{
cmd.disableSubRepositoryDetection();
}
BrowserResult result = new BrowserResult();
result.setFiles(cmd.execute());

View File

@@ -99,6 +99,19 @@ public class HgFileviewCommand extends AbstractCommand
return this;
}
/**
* Method description
*
*
* @return
*/
public HgFileviewCommand disableSubRepositoryDetection()
{
cmdAppend("-s");
return this;
}
/**
* Method description
*