// Unpak will remove a branch named pak and a tag named _pak_latest_ in a hg repo.
Unpak will remove a branch named pak and a tag named _pak_latest_ in a hg repo.
// Unpak will remove a branch named pak and a tag named _pak_latest_ in a hg repo .
func (this *HgPkg) Unpak() error {
	if contained, err := this.ContainsPakbranch(); err == nil {
		if contained {
			_, err = this.Hg("bookmark", "-d", this.PakName)
			if err != nil {
				return err
			}
		}
	} else {
		return err
	}
	return nil
}
func ( this * HgPkg ) Unpak ( ) error { if contained , err := this . ContainsPakbranch ( ) ; err == nil { if contained { _ , err = this . Hg ( " " , " " , this . PakName ) if err != nil { return err } } } else { return err } return nil }
Unpak will remove a branch named pak and a tag named _pak_latest_ in a hg repo.
Unpak will remove a branch named pak and a tag named _pak_latest_ in a hg repo .
// Delete Pakbranch // _, err = this.Hg("bookmark", "-d", Pakbranch) // // Delete Paktag // if contained, err := this.ContainsPaktag(); err == nil { // 	if contained { // 		_, err = this.Hg("tag", "--local", "--remove", Paktag) // 		if err != nil { // 			return err // 		} // 	} // } else { // 	return err // }