revision problems with update

Bug #624156 reported by Jordan Gray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Externals plugin
Invalid
Undecided
Eugene Tarasenko

Bug Description

eadd repos with no revision specified never update.

the following is the output of running: source externals_test

** Creating Repo1
/tmp/externals_test/repo1 ~
Created a standalone tree (format: 2a)
adding Hello1.txt
adding externals
Committing to: /tmp/externals_test/repo1/
added Hello1.txt
added externals
Committed revision 1.
** Creating Repo2
Created a standalone tree (format: 2a)
adding Hello2.txt
Committing to: /tmp/externals_test/repo2/
added Hello2.txt
Committed revision 1.
adding Hi2.txt
Committing to: /tmp/externals_test/repo2/
added Hi2.txt
Committed revision 2.
adding Hola2.txt
Committing to: /tmp/externals_test/repo2/
added Hola2.txt
Committed revision 3.
** adding externals repo2 latest and repo2 rev 2 to repo1
Add external branch /tmp/externals_test/repo2 /tmp/externals_test/repo1/externals/repo2_latest
Branched 3 revision(s).
adding .bzrignore
adding .bzrmeta
adding .bzrmeta/externals
adding .bzrmeta/externals-snapshot
Add external branch /tmp/externals_test/repo2 /tmp/externals_test/repo1/externals/repo2_revno2 --revision revno:2
Branched 2 revision(s).
Committing to: /tmp/externals_test/repo1/
added .bzrignore
added .bzrmeta
added .bzrmeta/externals
added .bzrmeta/externals-snapshot
Committed revision 2.
** changing repo2
adding moshi2.txt
Committing to: /tmp/externals_test/repo2/
added moshi2.txt
Committed revision 4.
** ecmd updating repo1
Run command in external: externals/repo2_latest
Tree is up to date at revision 3 of branch /tmp/externals_test/repo1/externals/repo2_latest
Run command in external: externals/repo2_revno2
Tree is up to date at revision 2 of branch /tmp/externals_test/repo1/externals/repo2_revno2
Run command in main branch:
Tree is up to date at revision 2 of branch /tmp/externals_test/repo1
** checking to see if the repo2_latest external reflects repo2 mod
repo2_latest external is on revision 3, should be on 4

Revision history for this message
Jordan Gray (yek401) wrote :
Revision history for this message
Eugene Tarasenko (etarasenko) wrote :

'update' command works only with checkout branch, instead uses 'pull' command. Replace 'bzr ecmd update' in your script on 'bzr pull' line.

Changed in bzr-externals:
assignee: nobody → Eugene Tarasenko (eugene-tarasenko)
status: New → Invalid
Revision history for this message
Eugene Tarasenko (etarasenko) wrote :

Main branch not have parent location, replace on 'bzr ecmd pull' line.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.