}
}
// do an inventory to return the files branched (all of them)
String[] listCmd = new String[]{ HgCommandConstants.INVENTORY_CMD };
HgListConsumer listconsumer = new HgListConsumer( getLogger() );
result = HgUtils.execute( listconsumer, getLogger(), fileSet.getBasedir(), listCmd );
if ( !result.isSuccess() )
{
throw new ScmException( "Error while executing command " + joinCmd( listCmd ) );
}
List<ScmFile> files = listconsumer.getFiles();
List<ScmFile> fileList = new ArrayList<ScmFile>();
for ( ScmFile f : files )
{
fileList.add( new ScmFile( f.getPath(), ScmFileStatus.TAGGED ) );
}