Forgot to change the "unimplemented" message and return value after
implementing the 'backport' command.
While we're here, make backport a bit more chatty about what it's
doing.
Signed-off-by: George Dunlap <george.dunlap@citrix.com>
var from XenVersion
for _, to := range xsa.SupportedVersions {
+ fmt.Printf("Checking version %v...", to)
if to == XenVersionMaster ||
xsa.RepoHasPatches(to) {
+ fmt.Printf("already done\n", to)
from = to
continue
}
// from = to
}
- fmt.Printf("Not implemented\n")
- return 1
+ fmt.Printf("No more versions to backport to\n")
+ return 0
}
// xsatool NNN backport-fixup [version]