src/orion/core/io/interactive_commands/branching_prompt.py
def complete_reset(self, text, line, begidx, endidx):
        """Auto-complete reset based on current resolutions"""
        names = list(map(str, self.branch_builder.conflicts.get_resolutions()))
        names = [shlex.quote(name) for name in names]
        try:
            ignore = [shlex.quote(t) for t in shlex.split(line)]
        except ValueError:
            ignore = [shlex.quote(t) for t in shlex.split(line + "'")]

        names = [name.replace("'\"'\"'", '"') for name in names]

        return self._get_completions(names, text, ignore=ignore)
Auto-complete reset based on current resolutions
Auto-complete reset based on current resolutions
Auto - complete reset based on current resolutions
def complete_reset(self, text, line, begidx, endidx):
        names = list(map(str, self.branch_builder.conflicts.get_resolutions()))
        names = [shlex.quote(name) for name in names]
        try:
            ignore = [shlex.quote(t) for t in shlex.split(line)]
        except ValueError:
            ignore = [shlex.quote(t) for t in shlex.split(line + "'")]
        names = [name.replace("'\"'\"'", '"') for name in names]
        return self._get_completions(names, text, ignore=ignore)
def complete_reset ( self , text , line , begidx , endidx ) : names = list ( map ( str , self . branch_builder . conflicts . get_resolutions ( ) ) ) names = [ shlex . quote ( name ) for name in names ] try : ignore = [ shlex . quote ( t ) for t in shlex . split ( line ) ] except ValueError : ignore = [ shlex . quote ( t ) for t in shlex . split ( line + "'" ) ] names = [ name . replace ( "'\"'\"'" , '"' ) for name in names ] return self . _get_completions ( names , text , ignore = ignore )
Auto-complete reset based on current resolutions
Auto - complete reset based on current resolutions
"""Auto-complete reset based on current resolutions"""
self
text
line
begidx
endidx