#NEWLINE# @ MigrateCommand . option ( '--tag' , dest = 'tag' , default = None , help = "Arbitrary 'tag' name - can be used by custom env.py scripts" ) #NEWLINE# @ MigrateCommand . option ( '--sql' , dest = 'sql' , action = 'store_true' , default = False , help = "Don't emit SQL to database - dump to standard output instead" ) #NEWLINE# @ MigrateCommand . option ( 'revision' , default = None , help = 'revision identifier' ) #NEWLINE# @ MigrateCommand . option ( '-d' , '--directory' , dest = 'directory' , default = None , help = "migration script directory (default is 'migrations')" ) #NEWLINE# def stamp( directory = None , revision = 'head' , sql = False , tag = None ) : #NEWLINE# #INDENT# "'stamp' the revision table with the given revision; don't run any\n    migrations" #NEWLINE# config = current_app . extensions [ 'migrate' ] . migrate . get_config ( revision ) #NEWLINE# command . stamp ( config , revision , sql = sql , tag = tag )