eric6/Plugins/VcsPlugins/vcsMercurial/ShelveExtension/shelve.py

changeset 7900
72b88fb20261
parent 7759
51aa6c6b66f7
child 7923
91e843545d9a
equal deleted inserted replaced
7899:ecf67e07b6e0 7900:72b88fb20261
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)):

eric ide

mercurial