It has been repeatedly held in this court that no appeal lies from the refusal of a judge or court to grant the writ of habeas corpus. (Ex parte Ainsworth, 27 Tex., 731; Thomas v. The State, 40 Tex., 6.)
In these cases the provisions of the Code of Criminal Procedure regulating appeals in cases of habeas corpus were examined, and the conclusion arrived at that the judgment of this court in such cases disposes of the case, not upon incidental questions, but upon the law and facts, and that the case is not remanded to the judge or court whose decision is appealed from. (40 Tex., supra.) The code makes the judgment of this court, “in appeals under habeas corpus, final and conclusive,” (Paschal’s Dig., art. 3225,) and does *469not contemplate the appeal of cases not tried, or which were disposed of by an order equivalent to a refusal of the writ.
In this case the writ was issued and the return made, and the cause being heard on exceptions of the respondent to the application, it was ordered “that said exceptions be sustained, that the prayer of the applicant be refused, and his said application be dismissed.” We think that for the purpose of supporting an appeal, this action of the court is tantamount to a refusal of the writ.
Undoubtedly, after the issuance and return of the writ, it is irregular for the judge to dispose of the case by simply dismissing the application. By means of the writ “the efficacy of the original commitment is suspended,” and “the safe-keeping of the prisoner is entirely under the authority and direction of the court issuing it, or to which return is made.” (State v. Sparks, 27 Tex., 709, refers to Hurd on Habeas Corpus, 324, and authorities there cited.) The applicant having been thus brought before the court or judge, the case should be heard on the facts and law, and an order made either discharging the applicant or remanding him to custody. But however irregular the order of dismissal, it does not follow that it will support an appeal.
If we were authorized to entertain this appeal, the record does not contain the facts and proceedings necessary to enable us to dispose of it on the law and facts of the case. The validity of an ordinance of the city of San Antonio is questioned in the brief of appellant, but we do not know what the ordinance is. So the validity of a commitment is assailed, and whilst the record embraces what purports to be a copy of a commitment, it is not referred to so as to be identified either in the application or the return. Complaint is made that the party was deprived of his right of trial by jury, but there is nothing in the record to support it. In truth, with the exception of the writ of commitment alluded to, the record contains nothing which would enable us to finally *470dispose of the case or to do more than to decide whether the court should have granted or refused the writ.
The appeal is dismissed.
Dismissed.