The provisions of this code relative to civil actions, appeals and new trials, so far as they are not inconsistent with the provisions of this chapter, apply to the proceedings mentioned in this chapter.