##// END OF EJS Templates
Handle the case where the current working copy is not based on a checkout....
Thomas Arendsen Hein -
r340:97a897d3 default
parent child Browse files
Show More
@@ -330,6 +330,10 b' def identify(ui, repo):'
330 mflag = (c or a or d or u) and "+" or ""
330 mflag = (c or a or d or u) and "+" or ""
331 parents = [parent for parent in repo.dirstate.parents()
331 parents = [parent for parent in repo.dirstate.parents()
332 if parent != hg.nullid]
332 if parent != hg.nullid]
333 if not parents:
334 ui.note("unknown\n")
335 return
336
333 tstring = ''
337 tstring = ''
334 if not ui.quiet:
338 if not ui.quiet:
335 taglist = [e[1] for e in tags_load(repo)]
339 taglist = [e[1] for e in tags_load(repo)]
General Comments 0
You need to be logged in to leave comments. Login now