79805079

Date: 2025-10-30 17:46:04
Score: 3
Natty:
Report link

I have the same problem where the action is 20 and the effected folder being empty, when in reality it should have files in it. In my case, when I looked at the history in the VSS client, the action was showing as "Archived version of ..." (where the ... is the file name). The VssPhysicalLib>RevisionRecord.cs>Action enumeration does have an entry for ArchiveProject = 23, but not for 20.

A lazy solution to the problem but managed to work around the issue for me:

  1. Add a new entry to the VssPhysicalLib>RevisionRecord.cs>Action enumeration: ArchiveUnknown = 20,

  2. Add a new VSS action class to VssLogicalLib>VssAction.cs file:

    public class VssNoAction : VssAction
    {
      public override VssActionType Type { get { return VssActionType.Label;} }
    
      public VssNoAction()
      {
        //
      }
    
      public override string ToString()
      {
        return "No Action";
      }
    }
    
  3. Add a new case to the switch statement in VssLogicalLib>VssRivision.cs>CreateAction() method:

    case Hpdi.VssPhysicalLib.Action.ArchiveUnknown:
       {
         return new VssNoAction();
       }
    

For more details, you can check this issue on trevorr/vss2git github repo: https://github.com/trevorr/vss2git/issues/39

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: malqassar