Hello.
We are using SourceGear Vault v4.0.2.
I am getting the following error when doing a <vaultcheckin> on a repository path that does not have any items in its changelist:
Internal Error: System.Exception
The current change set does not have any items for $/MyRepositoryPath
Is there a work-around? Or how can I get the number of change list items for a specific repository path?
The only work-around I can think of is to perform a <vaultlistchangeset>, output the results to a file, and then count the number of xml items. Is there something faster/easier?
I would have expected <vaultcheckin> to just not perform a check-in if there are no items in the change list.
Thank you very much.
<vaultcheckin> NAnt task without items in change list
Moderator: SourceGear
I've attached a VaultCheckIn.cs that implements the work-around.
- Attachments
-
- VaultCheckIn.zip
- (1.23 KiB) Downloaded 197 times