problem updating external

Asked by Jordan Gray

So I'm not sure if its my understanding of the plugin or the implementation, but I'm having a tough time with the versions of the externals.

I can add an external using eadd, and I can not specify a revision and get the latest.

But when I modify go to the repo and modify it, I expect to be able to run an update on the external (either directly, or using ecmd update) and see the external show that the repo has a new revision.. Instead, the repo just sits at whatever revision it was at when I did my eadd. Is this a bug, a known issue, or am I doing something wrong?

Thanks

--Jordan

Question information

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

I don't understand your question. Please write sequence of command.

Revision history for this message
Jordan Gray (yek401) said :
#2

> cd /work/foo_co
> bzr eadd /bzr/bar /work/foo_co/externals/bar

> bzr ecmd update
Run command in external: externals/bar
The tree is up to date at revision 13 of branch /work/foo_co/externals/bar
Run command is in main branch:
The tree is up to date at revision 22 of branch /work/foo_co

> cd /work/bar_co
> echo hello > hello.txt
> bzr commit -m "added hello.txt"
> bzr update
The tree is up to date at revision 14 of branch /work/bar_co

> cd /work/foo_co
> bzr ecmd update
Run command in external: externals/bar
The tree is up to date at revision 13 of branch /work/foo_co/externals/bar
Run command is in main branch:
The tree is up to date at revision 22 of branch /work/foo_co

Why didn't the external update to revision 14?

Revision history for this message
Jordan Gray (yek401) said :
#3

The above was hypothetical, and I think I may have made some mistakes, but the general idea:

if I have to repos, repo1 and repo2, and I make repo2 an external inside of repo1 using eadd, then I modify and commit revisions to repo2, how do I make your plugin update the external of repo2 inside of repo1?

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

1) After add external branch (eadd) you need commit this modification in main branch.
2) Execute command "bzr update" in main branch for update main branch and all externals branches.

Can you help with this problem?

Provide an answer of your own, or ask Jordan Gray for more information if necessary.

To post a message you must log in.