import hgnested
sour = "C:\Users\ADMIN\Documents\mercurial\hgserver"
desti = "D:\Work"
hgnested.nclone(source = sour, dest = desti)
Here I am trying to clone a nested repository "hgserver" which has 5 more repositories in it. But I am getting and error,
TypeError: nclone() takes at least 2 arguments (2 given)
I then looked at the source code of hgnested package of python at this link and found that the nclone() method takes an argument "ui" to which I don't understand what to pass.
def nclone(ui, source, dest=None, **opts):
Can anybody help me out.
PS:Due to my low reputation I am unable to add relevant tags for this question. Ex: hgnested, nclone