```
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](https://bitbucket.org/cedk/hgnested/src/bd39764e6a83d3e85ce3d7c7da0e8fcccff4c926/hgnested/__init__.py?at=default&fileviewer=file-view-default) 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