131 def hgUnshelve(self, name, shelveName=""): |
131 def hgUnshelve(self, name, shelveName=""): |
132 """ |
132 """ |
133 Public method to restore shelved changes to the project directory. |
133 Public method to restore shelved changes to the project directory. |
134 |
134 |
135 @param name name of the project directory (string) |
135 @param name name of the project directory (string) |
136 @keyparam shelveName name of the shelve to restore (string) |
136 @param shelveName name of the shelve to restore (string) |
137 @return flag indicating that the project should be reread (boolean) |
137 @return flag indicating that the project should be reread (boolean) |
138 """ |
138 """ |
139 # find the root of the repo |
139 # find the root of the repo |
140 repodir = name |
140 repodir = name |
141 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |
141 while not os.path.isdir(os.path.join(repodir, self.vcs.adminDir)): |