Show More
@@ -115,13 +115,13 def addlargefiles(ui, repo, *pats, **opt | |||||
115 | ui.status(_('adding %s as a largefile\n') % m.rel(f)) |
|
115 | ui.status(_('adding %s as a largefile\n') % m.rel(f)) | |
116 |
|
116 | |||
117 | bad = [] |
|
117 | bad = [] | |
118 | standins = [] |
|
|||
119 |
|
118 | |||
120 | # Need to lock, otherwise there could be a race condition between |
|
119 | # Need to lock, otherwise there could be a race condition between | |
121 | # when standins are created and added to the repo. |
|
120 | # when standins are created and added to the repo. | |
122 | wlock = repo.wlock() |
|
121 | wlock = repo.wlock() | |
123 | try: |
|
122 | try: | |
124 | if not opts.get('dry_run'): |
|
123 | if not opts.get('dry_run'): | |
|
124 | standins = [] | |||
125 | lfdirstate = lfutil.openlfdirstate(ui, repo) |
|
125 | lfdirstate = lfutil.openlfdirstate(ui, repo) | |
126 | for f in lfnames: |
|
126 | for f in lfnames: | |
127 | standinname = lfutil.standin(f) |
|
127 | standinname = lfutil.standin(f) |
General Comments 0
You need to be logged in to leave comments.
Login now