How to commit the repository but not the externals?

Asked by Andreas Sommer

I can commit both the outer repository and its externals with "bzr commit" or using Bazaar Explorer's commit dialog (external commit will open my editor for editing the commit message). Committing only the externals is possible with "bzr ecmd commit -e".

But how can I commit only the outer repository, ignoring any changes in the externals (i.e. also keeping "externals-snapshot")? Is "bzr commit --no-plugins" the only solution? I'd like to see a solution that works in Bazaar Explorer, too.

I'm mostly using Windows if that makes a difference.

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Externals plugin Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene Tarasenko
Solved:
Last query:
Last reply:
Revision history for this message
Best Eugene Tarasenko (etarasenko) said :
#1

Simply close your editor without saving.

Revision history for this message
Andreas Sommer (andidog) said :
#2

Yes, closing the editor and choosing not to commit the external(s) works. But is there no other solution that prevents the commit command from being executed in externals, while still updating "externals-snapshot" in the outer repository (--no-plugins won't do that)?

Revision history for this message
Eugene Tarasenko (etarasenko) said :
#3

At least I don't know.

Revision history for this message
Andreas Sommer (andidog) said :
#4

Thanks Eugene Tarasenko, that solved my question.