How to commit the repository but not the externals?

Asked by Andreas Sommer on 2010-12-28

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

English Edit question
Bazaar Externals plugin Edit question
No assignee Edit question
Solved by:
Eugene Tarasenko
Last query:
Last reply:
Best Eugene Tarasenko (etarasenko) said : #1

Simply close your editor without saving.

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)?

Eugene Tarasenko (etarasenko) said : #3

At least I don't know.

Andreas Sommer (andidog) said : #4

Thanks Eugene Tarasenko, that solved my question.