def to_args(self):
        # type: () -> CommandArgs
        """
        Return the VCS-specific command arguments.
        """
        args = []  # type: CommandArgs
        rev = self.arg_rev
        if rev is not None:
            args += self.vc_class.get_base_rev_args(rev)
        args += self.extra_args

        return args

        Return the VCS-specific command arguments.
        
product/gradle-plugin/src/main/python/pip/_internal/vcs/versioncontrol.py