An alternative to using PQM
Nicholas Allen
nick.allen at onlinehome.de
Thu Oct 26 10:36:28 BST 2006
> Either way would be fairly easy, I think. I'd probably write it in Python with
> bzrlib personally, because I'm reasonably familiar with bzrlib and so it'd give
> me more flexibility, and it's easier to write unit tests for python code than
> shell scripts.
>
> If I didn't use bzrlib, I probably wouldn't choose a shell script, I'd write
> Python using the subprocess module instead :)
Is it easily possible to determine if conflicts occurred by looking at
the exit code for "bzr merge"? Likewise for other commands like push and
commit to see if they were successful? The only other problem I see by
running processes is when branches are password protected. The script
would have to enter the password at the right time.
Thanks,
Nicholas Allen
More information about the bazaar
mailing list