131 # here, no "default" branch, and all branches are closed |
131 # here, no "default" branch, and all branches are closed |
132 node = repo.lookup('tip') |
132 node = repo.lookup('tip') |
133 assert node is not None, "'tip' exists even in empty repository" |
133 assert node is not None, "'tip' exists even in empty repository" |
134 return node, movemark, None |
134 return node, movemark, None |
135 |
135 |
136 # order in which each step should be evalutated |
136 # order in which each step should be evaluated |
137 # steps are run until one finds a destination |
137 # steps are run until one finds a destination |
138 destupdatesteps = ['evolution', 'bookmark', 'branch', 'branchfallback'] |
138 destupdatesteps = ['evolution', 'bookmark', 'branch', 'branchfallback'] |
139 # mapping to ease extension overriding steps. |
139 # mapping to ease extension overriding steps. |
140 destupdatestepmap = {'evolution': _destupdateobs, |
140 destupdatestepmap = {'evolution': _destupdateobs, |
141 'bookmark': _destupdatebook, |
141 'bookmark': _destupdatebook, |