Exemplo n.º 1
0
    def command(self, *args, **kwargs):
        #
        # Run aegis in verbose mode
        #
        args = args + ('-verbose',)

        #
        # Disable the log file functionality
        #
        if not kwargs.has_key('env'):
            kwargs['env'] = {}
        kwargs['env']['AEGIS_FLAGS'] = "log_file_preference = never;"

        #
        # aefinish is a different executable.  Take care of it.
        #
        original_command = self.EXECUTABLE
        if args[0] == "-finish":
            self.EXECUTABLE = "aefinish"
            args = args[1:]

        rc = Repository.command(self, *args, **kwargs)
        self.EXECUTABLE = original_command
        return rc
Exemplo n.º 2
0
    def command(self, *args, **kwargs):
        #
        # Run aegis in verbose mode
        #
        args = args + ('-verbose', )

        #
        # Disable the log file functionality
        #
        if not kwargs.has_key('env'):
            kwargs['env'] = {}
        kwargs['env']['AEGIS_FLAGS'] = "log_file_preference = never;"

        #
        # aefinish is a different executable.  Take care of it.
        #
        original_command = self.EXECUTABLE
        if args[0] == "-finish":
            self.EXECUTABLE = "aefinish"
            args = args[1:]

        rc = Repository.command(self, *args, **kwargs)
        self.EXECUTABLE = original_command
        return rc
Exemplo n.º 3
0
 def command(self, *args, **kwargs):
     if kwargs.get('svnadmin', False):
         kwargs['executable'] = self.__svnadmin
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 4
0
 def command(self, *args, **kwargs):
     if kwargs.get('cvsps', False):
         kwargs['executable'] = self.__cvsps
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 5
0
 def command(self, *args, **kwargs):
     if kwargs.get('svnadmin', False):
         kwargs['executable'] = self.__svnadmin
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 6
0
 def command(self, *args, **kwargs):
     if kwargs.get('cvsps', False):
         kwargs['executable'] = self.__cvsps
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 7
0
 def command(self, *args, **kwargs):
     if args[0] == 'record' and self.use_look_for_adds:
         args = args + ('--look-for-adds',)
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 8
0
 def command(self, *args, **kwargs):
     if args[0] == 'record' and self.use_look_for_adds:
         args = args + ('--look-for-adds', )
     elif args[0] == 'initialize' and self.init_options:
         args = args + self.init_options
     return Repository.command(self, *args, **kwargs)
Exemplo n.º 9
0
 def command(self, *args, **kwargs):
     if args[0] == 'record' and self.use_look_for_adds:
         args = args + ('--look-for-adds',)
     elif args[0] == 'initialize' and self.init_options:
         args = args + self.init_options
     return Repository.command(self, *args, **kwargs)